Attribute action state.
More...
#include <Urho3D/Actions/AttributeActionState.h>
|
| AttributeActionState (FiniteTimeAction *action, Object *target, AttributeInfo *attribute) |
| Construct.
|
|
| ~AttributeActionState () override |
| Destruct.
|
|
| 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.
|
|
Object * | GetTarget () const |
|
Object * | GetOriginalTarget () const |
| Gets the original target.
|
|
BaseAction * | GetAction () const |
| Gets the action.
|
|
virtual void | Stop () |
|
| 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.
|
|
RefCounted & | operator= (const RefCounted &rhs)=delete |
| Prevent assignment.
|
|
int | AddRef () |
|
int | ReleaseRef () |
|
int | Refs () const |
|
int | WeakRefs () const |
|
RefCount * | RefCountPtr () 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.
|
|
|
void | Update (float dt) override |
|
◆ Update() [1/2]
void Urho3D::Actions::AttributeActionState::Update |
( |
float |
time | ) |
|
|
overrideprivatevirtual |
Called once per frame. Time value is between 0 and 1 For example: 0 means that the action just started 0.5 means that the action is in the middle 1 means that the action is over
Reimplemented from Urho3D::Actions::ActionState.
◆ Update() [2/2]
void Urho3D::Actions::AttributeActionState::Update |
( |
float |
dt, |
|
|
Variant & |
value |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following files:
- Urho3D/Actions/AttributeActionState.h
- Urho3D/Actions/AttributeActionState.cpp