Animation interface.
General | |
| virtual iAnimation * | Clone () const =0 |
| Clone this animation. More... | |
| virtual iAnimation * | Inst () const =0 |
| Creates an instance of this animation. More... | |
| virtual void | SetName (iHString *ahspName)=0 |
| Set the name of the animation. {Property}. More... | |
| virtual iHString * | GetName () const =0 |
| Get the name of the animation. {Property}. More... | |
Control | |
| virtual iAnimationTime * | GetTime () const =0 |
| Get the animation's time controller. {Property}. More... | |
| virtual tF32 | GetKeysInterval () const =0 |
| Get the interval between two keys. {Property}. More... | |
| virtual tU32 | GetNumKeys () const =0 |
| Get the the number of keys. {Property}. More... | |
Animation Keys Sets | |
| virtual void | InitializeAnimationKeysSets ()=0 |
| Initialize animation keys set stats. More... | |
| virtual iAnimationKeysSet * | CreateAnimationKeysSet (eAnimationKeysType aType) const =0 |
| Create a new keys set. More... | |
| virtual tU32 | GetNumAnimationKeysSets () const =0 |
| Get the number of animation keys sets interfaces. {Property}. More... | |
| virtual iAnimationKeysSet * | GetAnimationKeysSet (tU32 aulIdx) const =0 |
| Get the animation keys set of this animation at the given index. More... | |
| virtual tU32 | GetAnimationKeysSetFromName (iHString *ahspName) const =0 |
| Get the animation keys set with the specified name. {Property}. More... | |
| virtual tU32 | AddAnimationKeysSet (iAnimationKeysSet *apAnimKeys)=0 |
| Add an animation keys set. More... | |
| virtual tBool | RemoveAnimationKeysSet (tU32 aulIdx)=0 |
| Remove the animation keys set at the given index. More... | |
| virtual tBool | GetCurrentTimeValue (tU32 aulIdx, tPtr apOut) const =0 |
| Get the current time value of the given animation keys set. More... | |
| virtual tF32 | GetCurrentFloatTimeValue (tU32 aulIdx) const =0 |
| Get the current float time value of the given animation keys set. {Property}. More... | |
| virtual tF32 | GetCurrentEulerAngleTimeValue (tU32 aulIdx) const =0 |
| Get the current euler angle time value of the given animation keys set. {Property}. More... | |
| virtual sVec2f | GetCurrentVec2TimeValue (tU32 aulIdx) const =0 |
| Get the current vector2 time value of the given animation keys set. {Property}. More... | |
| virtual sVec3f | GetCurrentVec3TimeValue (tU32 aulIdx) const =0 |
| Get the current vector3 time value of the given animation keys set. {Property}. More... | |
| virtual sVec4f | GetCurrentVec4TimeValue (tU32 aulIdx) const =0 |
| Get the current vector4 time value of the given animation keys set. {Property}. More... | |
| virtual sMatrixf | GetCurrentMatrixTimeValue (tU32 aulIdx) const =0 |
| Get the current matrix time value of the given animation keys set. {Property}. More... | |
| virtual sQuatf | GetCurrentQuatTimeValue (tU32 aulIdx) const =0 |
| Get the current vector4 time value of the given animation keys set. {Property}. More... | |
Serialization | |
| virtual tBool | SerializeDataTable (iDataTable *apDT, tSerializeFlags aFlags)=0 |
| Serialize the animation to/from the specified datatable. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Clone this animation.
|
pure virtual |
Creates an instance of this animation.
|
pure virtual |
Get the name of the animation. {Property}.
|
pure virtual |
Get the animation's time controller. {Property}.
|
pure virtual |
Get the interval between two keys. {Property}.
|
pure virtual |
Get the the number of keys. {Property}.
|
pure virtual |
Initialize animation keys set stats.
|
pure virtual |
Create a new keys set.
|
pure virtual |
Get the number of animation keys sets interfaces. {Property}.
|
pure virtual |
Get the animation keys set of this animation at the given index.
| aulIdx | is the index of the animation keys to get. |
Get the animation keys set with the specified name. {Property}.
|
pure virtual |
Add an animation keys set.
Remove the animation keys set at the given index.
| aulIdx | is the index of the animation keys set to remove. |
Get the current time value of the given animation keys set.
| aulIdx | is the index of the animation keys set of which we need to get the value. |
| apOut | is where the key value will be written. |
Get the current float time value of the given animation keys set. {Property}.
Get the current euler angle time value of the given animation keys set. {Property}.
Get the current vector2 time value of the given animation keys set. {Property}.
Get the current vector3 time value of the given animation keys set. {Property}.
Get the current vector4 time value of the given animation keys set. {Property}.
Get the current matrix time value of the given animation keys set. {Property}.
Get the current vector4 time value of the given animation keys set. {Property}.
|
pure virtual |
Serialize the animation to/from the specified datatable.
1.8.7