Rebel Fork Framework
Urho3D::Actions::AttributeBlinkState Class Reference
Inheritance diagram for Urho3D::Actions::AttributeBlinkState:
Urho3D::Actions::AttributeActionState Urho3D::Actions::FiniteTimeActionState Urho3D::Actions::ActionState Urho3D::RefCounted

Public Member Functions

 AttributeBlinkState (FiniteTimeAction *action, Object *target, AttributeInfo *attribute, Variant from, Variant to, unsigned times)
 
void Update (float time, Variant &var) override
 Called every frame with it's delta time and attribute value.
 
void Stop () override
 
- Public Member Functions inherited from Urho3D::Actions::AttributeActionState
 AttributeActionState (FiniteTimeAction *action, Object *target, AttributeInfo *attribute)
 Construct.
 
 ~AttributeActionState () override
 Destruct.
 
- Public Member Functions inherited from Urho3D::Actions::FiniteTimeActionState
 FiniteTimeActionState (FiniteTimeAction *action, Object *target)
 Construct.
 
 ~FiniteTimeActionState () override
 Destruct.
 
bool IsDone () const override
 Gets a value indicating whether this instance is done.
 
void Step (float dt) override
 Called every frame with it's delta time.
 
float GetDuration () const
 Get action duration.
 
float GetElapsed () const
 Get action elapsed time.
 
- Public Member Functions inherited from Urho3D::Actions::ActionState
ObjectGetTarget () const
 
ObjectGetOriginalTarget () const
 Gets the original target.
 
BaseActionGetAction () const
 Gets the action.
 
- Public Member Functions inherited from Urho3D::RefCounted
 RefCounted ()
 Construct. Allocate the reference count structure and set an initial self weak reference.
 
virtual ~RefCounted ()
 Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist.
 
 RefCounted (const RefCounted &rhs)=delete
 Prevent copy construction.
 
RefCountedoperator= (const RefCounted &rhs)=delete
 Prevent assignment.
 
int AddRef ()
 
int ReleaseRef ()
 
int Refs () const
 
int WeakRefs () const
 
RefCountRefCountPtr () const
 Return pointer to the reference count structure.
 
bool HasScriptObject () const
 Return true if script runtime object wrapping this native object exists.
 
bool IsScriptStrongRef () const
 Return true if script reference is strong.
 

Private Attributes

unsigned times_
 
Variant originalState_
 
Variant from_
 
Variant to_
 

Additional Inherited Members

- Protected Member Functions inherited from Urho3D::Actions::AttributeActionState
void Get (Variant &value) const
 
void Set (const Variant &value)
 
template<typename T >
Get () const
 Get attribute value or default value.
 
- Protected Member Functions inherited from Urho3D::Actions::FiniteTimeActionState
SharedPtr< FiniteTimeActionStateStartAction (FiniteTimeAction *action, Object *target) const
 Call StartAction on an action.
 
- Protected Member Functions inherited from Urho3D::Actions::ActionState
 ActionState (BaseAction *action, Object *target)
 
SharedPtr< ActionStateStartAction (BaseAction *action, Object *target) const
 Call StartAction on an action.
 
- Protected Attributes inherited from Urho3D::Actions::AttributeActionState
AttributeInfoattribute_ {}
 

Member Function Documentation

◆ Stop()

void Urho3D::Actions::AttributeBlinkState::Stop ( )
overridevirtual

Called after the action has finished. It will set the 'Target' to null. IMPORTANT: You should never call this method manually. Instead, use: "target.StopAction(actionState);"

Reimplemented from Urho3D::Actions::ActionState.


The documentation for this class was generated from the following files: