#include <submeshanimator.h>
Inheritance diagram for SubMeshAnimatorController:
Public Member Functions | |
SubMeshAnimatorController () | |
SubMeshAnimatorController (const SubMeshAnimatorController &rkController) | |
virtual void | Update (float fDeltaTime) |
void | InterpolateVertices (VertexBufferPtr pkBuffer) |
virtual bool | AddAnimation (SubMeshAnimation *pkAnimation) |
virtual bool | SetCurrentAnimation (unsigned int uiID) |
virtual bool | SetCurrentAnimation (const HashString &rstrName) |
const std::vector< SubMeshAnimation * > & | GetAnimations () const |
SubMeshAnimation * | GetCurrentAnimation () |
bool | IsActive () const |
virtual void | Activate () |
virtual void | Deactivate () |
bool | Toggle () |
Protected Attributes | |
std::vector< SubMeshAnimation * > | m_vpkAnimations |
unsigned int | m_uiCurAnim |
SubMeshAnimation * | m_pkCurAnim |
bool | m_bActive |
|
|
|
|
|
Update current animation
Reimplemented from AnimatorController< SubMeshAnimation >. Reimplemented in AnimatedSubMesh. |
|
Interpolate vertices
|
|
Add new animation
|
|
Set current animation by ID
|
|
Set current animation by name
|
|
|
|
|
|
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
|
|
Animations |
|
Current animation |
|
Current animation object ptr |
|
Active flag |