- Cal3D 0.11 API Reference - |
Public Member Functions | |
CalCoreAnimation * | getCoreAnimation () |
Provides access to the core animation. More... | |
const CalCoreAnimation * | getCoreAnimation () const |
Provides access to the core animation. More... | |
State | getState () const |
Returns the state. More... | |
float | getTime () const |
Returns the time. More... | |
Type | getType () const |
Returns the type. More... | |
float | getWeight () const |
Returns the weight. More... | |
void | setTime (float time) |
Set the time. More... | |
void | setTimeFactor (float timeFactor) |
Set the time factor. More... | |
float | getTimeFactor () const |
Get the time factor. More... | |
void | checkCallbacks (float animationTime, CalModel *model) |
void | completeCallbacks (CalModel *model) |
Protected Member Functions | |
CalAnimation (CalCoreAnimation *pCoreAnimation) | |
void | setType (Type type) |
void | setState (State state) |
void | setWeight (float weight) |
CalCoreAnimation * CalAnimation::getCoreAnimation | ( | ) |
Provides access to the core animation.
This function returns the core animation on which this animation instance is based on.
const CalCoreAnimation * CalAnimation::getCoreAnimation | ( | ) | const |
Provides access to the core animation.
This function returns the core animation on which this animation instance is based on.
CalAnimation::State CalAnimation::getState | ( | ) | const |
Returns the state.
This function returns the state of the animation instance.
float CalAnimation::getTime | ( | ) | const |
Returns the time.
This function returns the time of the animation instance.
float CalAnimation::getTimeFactor | ( | ) | const |
Get the time factor.
This function return the time factor of the animation instance.
CalAnimation::Type CalAnimation::getType | ( | ) | const |
Returns the type.
This function returns the type of the animation instance.
float CalAnimation::getWeight | ( | ) | const |
Returns the weight.
This function returns the weight of the animation instance.
void CalAnimation::setTime | ( | float | time | ) |
Set the time.
This function set the time of the animation instance.
void CalAnimation::setTimeFactor | ( | float | timeFactor | ) |
Set the time factor.
This function sets the time factor of the animation instance. this time factor affect only sync animation