The subsystem that manage, control Animation and Sequence updates.
See Also
Static Variables
| Name | Description |
animation_count | Total Animation count maintained by the Animator. |
Declaration unsigned int animation_count
|
Variables
| Name | Description |
revision | Current revision of the Animator system. |
Declaration - Note
- A manual change of revision will cause the editor to refresh Animation data.
|
Functions
| Name | Description |
GetObjectAnimation | Retrieve the Animation reference of a specific Object. |
Declaration Animation *GetObjectAnimation( Object *object ) Parameters
object: Reference of the Object.
Return Value
nil if no Animation data maintained by the Animator is associated to the Object reference received in parameter; else return the Animation reference associated with the Object.
|
GetSceneAnimation | Retrieve the Animation reference of a specific Scene. |
Declaration Animation *GetSceneAnimation( Scene *scene ) Parameters
scene: Reference of the Scene.
Return Value
nil if no Animation data maintained by the Animator is associated to the Scene reference received in parameter; else return the Animation reference associated with the Scene.
|
GetAnimationIndex | Return the internal index of a Animation reference. |
Declaration int GetAnimationIndex( const Animation *animation ) Parameters
animation: Reference to an existing Animation maintained by the Animator.
Return Value
-1 if no Animation reference match the one received in parameter; else return the internal list index of the Animation.
|
GetAnimationAt | Retrieve an existing Animation using its index as key. |
Declaration Animation *GetAnimationAt( unsigned int index ) Parameters
index: Index of the Animation reference to retrieve.
Return Value
nil the index is invalid; else return the reference to the Animation pointed by index.
|
ClearQueue | Manually clear up the Animation queue. |
Declaration
|
ProcessQueue | Force the subsytem to process the Animation queue. |
Declaration void ProcessQueue( void )
|
Update | Trigger a manual update of the animation subsystem. |
Declaration void Update( bool selection, bool physics, bool media ) Parameters
selection: Include only Object that are selected.
physics: Process PhysicObject.
media: Process sound and videos.
|