| - Cal3D 0.11 API Reference - |
The core keyframe class. More...
#include <coremorphkeyframe.h>
Public Member Functions | |
| CalCoreMorphKeyframe () | |
| Constructs the core keyframe instance. | |
| virtual | ~CalCoreMorphKeyframe () |
| Destructs the core keyframe instance. | |
| bool | create () |
| Creates the core keyframe instance. | |
| void | destroy () |
| Destroys the core keyframe instance. | |
| float | getTime () const |
| Returns the time. | |
| void | setTime (float time) |
| Sets the time. | |
| float | getWeight () const |
| Returns the weight. | |
| void | setWeight (float) |
| Sets the weight. | |
Protected Attributes | |
| float | m_time |
| float | m_weight |
The core keyframe class.
| CalCoreMorphKeyframe::CalCoreMorphKeyframe | ( | ) |
Constructs the core keyframe instance.
This function is the default constructor of the core keyframe instance.
|
virtual |
Destructs the core keyframe instance.
This function is the destructor of the core keyframe instance.
| bool CalCoreMorphKeyframe::create | ( | ) |
Creates the core keyframe instance.
This function creates the core keyframe instance.
| void CalCoreMorphKeyframe::destroy | ( | ) |
Destroys the core keyframe instance.
This function destroys all data stored in the core keyframe instance and frees all allocated memory.
| float CalCoreMorphKeyframe::getTime | ( | ) | const |
Returns the time.
This function returns the time of the core keyframe instance.
| float CalCoreMorphKeyframe::getWeight | ( | ) | const |
Returns the weight.
This function returns the weight of the core keyframe instance.
| void CalCoreMorphKeyframe::setTime | ( | float | time | ) |
Sets the time.
This function sets the time of the core keyframe instance.
| rotation | The time in seconds. |
| void CalCoreMorphKeyframe::setWeight | ( | float | weight | ) |
Sets the weight.
This function sets the weight of the core keyframe instance.
| weight | float |