- Cal3D 0.9 API Reference - |
#include <animation_cycle.h>
Inheritance diagram for CalAnimationCycle:
Public Methods | |
CalAnimationCycle () | |
Constructs the animation cycle instance. More... | |
virtual | ~CalAnimationCycle () |
Destructs the animation cycle instance. More... | |
bool | blend (float weight, float delay) |
Interpolates the weight of the animation cycle instance. More... | |
bool | create (CalCoreAnimation *pCoreAnimation) |
Creates the animation cycle instance. More... | |
void | destroy () |
Destroys the animation cycle instance. More... | |
void | setAsync (float time, float duration) |
Puts the animation cycle instance into async state. More... | |
bool | update (float deltaTime) |
Updates the animation cycle instance. More... | |
Protected Attributes | |
float | m_targetDelay |
float | m_targetWeight |
|
Constructs the animation cycle instance. This function is the default constructor of the animation cycle instance. |
|
Destructs the animation cycle instance. This function is the destructor of the animation cycle instance. |
|
Interpolates the weight of the animation cycle instance. This function interpolates the weight of the animation cycle instance to a new value in a given amount of time.
|
|
Creates the animation cycle instance. This function creates the animation cycle instance based on a core animation.
Implements CalAnimation. |
|
Destroys the animation cycle instance. This function destroys all data stored in the animation cycle instance and frees all allocated memory. Reimplemented from CalAnimation. |
|
Puts the animation cycle instance into async state. This function puts the animation cycle instance into async state, which means that it will end after the current running cycle.
|
|
Updates the animation cycle instance. This function updates the animation cycle instance for a given amount of time.
|