#include <submeshanimator.h>
Inheritance diagram for SubMeshAnimation:
Public Member Functions | |
SubMeshAnimation () | |
SubMeshAnimation (const SubMeshAnimation &rkAnimation) | |
virtual void | AddKeyframe (SubMeshKeyframe *pkKeyframe) |
virtual void | Update (float fDeltaTime) |
bool | IsActive () const |
virtual void | Activate () |
virtual void | Deactivate () |
bool | Toggle () |
Public Attributes | |
KeyframeVec | m_vpkKeyframes |
unsigned int | m_uiID |
HashString | m_strName |
float | m_fLength |
float | m_fCurTime |
int | m_iLastKeyframe |
int | m_iNextKeyframe |
float | m_fOffset |
Protected Attributes | |
bool | m_bActive |
|
|
|
|
|
Insert new keyframe
|
|
Update animation
Reimplemented from UpdateEntity. |
|
Query state of object
|
|
Activate object |
|
Deactivate object |
|
Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate
|
|
Keyframes ordered by timestamp |
|
Animation ID |
|
Animation name |
|
Lenght of animation in seconds |
|
Current time in [0,1] interval |
|
Last keyframe |
|
Next keyframe |
|
Current time offset from last keyframe to next keyframe (in [0,1] range) |
|
Active flag |