Castor3D
..
|
The class which manages key frames. More...
Classes | |
class | BinaryParser |
MovingObjectBase binary loader. More... | |
Public Member Functions | |
KeyFrame (real p_timeIndex=0, Castor::Point3r const &p_translate={}, Castor::Quaternion const &p_rotate={}, Castor::Point3r const &p_scale={}) | |
Constructor. More... | |
~KeyFrame () | |
Destructor. More... | |
void | SetTranslate (Castor::Point3r const &p_value) |
Defines the wanted translation. More... | |
void | SetRotate (Castor::Quaternion const &p_value) |
Defines the wanted rotation. More... | |
void | SetScale (Castor::Point3r const &p_value) |
Defines the wanted scaling. More... | |
Castor::Point3r const & | GetTranslate () const |
Castor::Quaternion const & | GetRotate () const |
Castor::Point3r const & | GetScale () const |
real | GetTimeIndex () const |
Retrieves the start time index. More... | |
void | SetTimeIndex (real p_value) |
Defines the start time index. More... | |
Protected Attributes | |
real | m_timeIndex |
The start time index. More... | |
Castor::Point3r | m_translate |
The translation at start time. More... | |
Castor::Quaternion | m_rotate |
The rotation at start time. More... | |
Castor::Point3r | m_scale |
The scaling at start time. More... | |
The class which manages key frames.
|
inline |
Constructor.
[in] | p_timeIndex | When the key frame starts. |
[in] | p_translate | The translation at start time. |
[in] | p_rotate | The rotation at start time. |
[in] | p_scale | The scaling at start time. |
|
inline |
Destructor.
|
inline |
References m_rotate.
|
inline |
References m_scale.
|
inline |
|
inline |
References m_translate.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
The rotation at start time.
Referenced by GetRotate(), and SetRotate().
|
protected |
The scaling at start time.
Referenced by GetScale(), and SetScale().
|
protected |
The start time index.
Referenced by GetTimeIndex(), and SetTimeIndex().
|
protected |
The translation at start time.
Referenced by GetTranslate(), and SetTranslate().