Rebel Fork Framework
|
Action as resource. More...
#include <Urho3D/Actions/ActionBuilder.h>
Public Member Functions | |
ActionBuilder (Context *context) | |
Construct. | |
ActionBuilder & | Then (const SharedPtr< Actions::FiniteTimeAction > &nextAction) |
Continue with provided action. | |
ActionBuilder & | Also (const SharedPtr< Actions::FiniteTimeAction > ¶llelAction) |
Run action in parallel to current one. | |
ActionBuilder & | MoveBy (float duration, const Vector3 &offset, ea::string_view attributeName=Actions::POSITION_ATTRIBUTE) |
Continue with MoveBy action. More... | |
ActionBuilder & | MoveBy (float duration, const Vector2 &offset, ea::string_view attributeName=Actions::POSITION_ATTRIBUTE) |
Continue with MoveBy action. | |
ActionBuilder & | MoveByQuadratic (float duration, const Vector3 &controlOffset, const Vector3 &targetOffset, ea::string_view attributeName=Actions::POSITION_ATTRIBUTE) |
Continue with MoveBy action with quad . More... | |
ActionBuilder & | MoveByQuadratic (float duration, const Vector2 &controlOffset, const Vector2 &targetOffset, ea::string_view attributeName=Actions::POSITION_ATTRIBUTE) |
Continue with MoveBy action. | |
ActionBuilder & | JumpBy (const Vector3 &offset, ea::string_view attributeName=Actions::POSITION_ATTRIBUTE) |
Continue with JumpBy action. | |
ActionBuilder & | JumpBy (const Vector2 &offset, ea::string_view attributeName=Actions::POSITION_ATTRIBUTE) |
Continue with MoveBy action. | |
ActionBuilder & | ScaleBy (float duration, const Vector3 &delta, ea::string_view attributeName=Actions::SCALE_ATTRIBUTE) |
Continue with ScaleBy action. | |
ActionBuilder & | ScaleBy (float duration, const Vector2 &delta, ea::string_view attributeName=Actions::SCALE_ATTRIBUTE) |
Continue with ScaleBy action. | |
ActionBuilder & | RotateBy (float duration, const Quaternion &delta, ea::string_view attributeName=Actions::ROTATION_ATTRIBUTE) |
Continue with RotateBy action. | |
ActionBuilder & | RotateAround (float duration, const Vector3 &pivot, const Quaternion &delta) |
Continue with RotateAround action. | |
ActionBuilder & | Hide (ea::string_view attributeName=Actions::ISVISIBLE_ATTRIBUTE) |
Continue with Hide action. | |
ActionBuilder & | Show (ea::string_view attributeName=Actions::ISVISIBLE_ATTRIBUTE) |
Continue with Show action. | |
ActionBuilder & | Enable (ea::string_view attributeName=Actions::ISENABLED_ATTRIBUTE) |
Continue with Enable action. | |
ActionBuilder & | Disable (ea::string_view attributeName=Actions::ISENABLED_ATTRIBUTE) |
Continue with Disable action. | |
ActionBuilder & | Blink (float duration, unsigned numOfBlinks, ea::string_view attributeName=Actions::ISENABLED_ATTRIBUTE) |
Continue with AttributeBlink action. | |
ActionBuilder & | AttributeTo (float duration, ea::string_view attributeName, const Variant &to) |
Continue with AttributeTo action. | |
ActionBuilder & | AttributeFromTo (float duration, ea::string_view attributeName, const Variant &from, const Variant &to) |
Continue with AttributeFromTo action. | |
ActionBuilder & | ShaderParameterTo (float duration, ea::string_view parameter, const Variant &to) |
Continue with ShaderParameterTo action. | |
ActionBuilder & | ShaderParameterFromTo (float duration, ea::string_view parameter, const Variant &from, const Variant &to) |
Continue with ShaderParameterFromTo action. | |
ActionBuilder & | SendEvent (ea::string_view eventType, const StringVariantMap &data) |
Continue with SendEvent action. | |
ActionBuilder & | CallFunc (Actions::ActionCallHandler *handler) |
Continue with CallFunc action. | |
template<typename T > | |
ActionBuilder & | CallFunc (T *receiver, typename Actions::ActionCallHandlerImpl< T >::HandlerFunctionPtr func, void *userData=nullptr) |
Continue with CallFunc action. | |
ActionBuilder & | BackIn () |
Combine with BackIn action. | |
ActionBuilder & | BackOut () |
Combine with BackOut action. | |
ActionBuilder & | BackInOut () |
Combine with BackInOut action. | |
ActionBuilder & | BounceOut () |
Combine with BounceOut action. | |
ActionBuilder & | BounceIn () |
Combine with BounceIn action. | |
ActionBuilder & | BounceInOut () |
Combine with BounceInOut action. | |
ActionBuilder & | SineOut () |
Combine with SineOut action. | |
ActionBuilder & | SineIn () |
Combine with SineIn action. | |
ActionBuilder & | SineInOut () |
Combine with SineInOut action. | |
ActionBuilder & | ExponentialOut () |
Combine with ExponentialOut action. | |
ActionBuilder & | ExponentialIn () |
Combine with ExponentialIn action. | |
ActionBuilder & | ExponentialInOut () |
Combine with ExponentialInOut action. | |
ActionBuilder & | ElasticIn (float period=0.3f) |
Combine with ElasticIn action. | |
ActionBuilder & | ElasticOut (float period=0.3f) |
Combine with ElasticOut action. | |
ActionBuilder & | ElasticInOut (float period=0.3f) |
Combine with ElasticInOut action. | |
ActionBuilder & | RemoveSelf () |
Combine with RemoveSelf action. | |
ActionBuilder & | DelayTime (float duration) |
Combine with DelayTime action. | |
ActionBuilder & | Repeat (unsigned times) |
Repeat current action. | |
ActionBuilder & | RepeatForever () |
Repeat current action forever (until canceled). | |
SharedPtr< Actions::FiniteTimeAction > | Build () |
Complete action building and produce result. | |
Actions::ActionState * | Run (Object *target) const |
Actions::ActionState * | Run (ActionManager *actionManager, Object *target) const |
Private Attributes | |
Context * | context_ {} |
Urho3D context. | |
SharedPtr< Actions::FiniteTimeAction > | action_ |
Action on top of stack (current). | |
Action as resource.
ActionBuilder & Urho3D::ActionBuilder::MoveBy | ( | float | duration, |
const Vector3 & | offset, | ||
ea::string_view | attributeName = Actions::POSITION_ATTRIBUTE |
||
) |
Continue with MoveBy action.
Build MoveBy action.
ActionBuilder & Urho3D::ActionBuilder::MoveByQuadratic | ( | float | duration, |
const Vector3 & | controlOffset, | ||
const Vector3 & | targetOffset, | ||
ea::string_view | attributeName = Actions::POSITION_ATTRIBUTE |
||
) |
Continue with MoveBy action with quad .
Build MoveBy action.
Actions::ActionState * Urho3D::ActionBuilder::Run | ( | ActionManager * | actionManager, |
Object * | target | ||
) | const |
Actions::ActionState * Urho3D::ActionBuilder::Run | ( | Object * | target | ) | const |