#include <OgreKeyFrame.h>
Public Methods | |
KeyFrame () | |
Simple constructor, only used for creating temp objects. More... | |
KeyFrame (Real time) | |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More... | |
Real | getTime (void) const |
Gets the time of this keyframe in the animation sequence. More... | |
void | setTranslate (const Vector3 &trans) |
Sets the translation associated with this keyframe. More... | |
Vector3 | getTranslate (void) const |
Gets the translation applied by this keyframe. More... | |
void | setScale (const Vector3 &scale) |
Sets the scaling factor applied by this keyframe to the animable object at it's time index. More... | |
Vector3 | getScale (void) const |
Gets the scaling factor applied by this keyframe. More... | |
void | setRotation (const Quaternion &rot) |
Sets the rotation applied by this keyframe. More... | |
Quaternion | getRotation (void) const |
Gets the rotation applied by this keyframe. More... | |
Protected Attributes | |
Real | mTime |
Vector3 | mTranslate |
Vector3 | mScale |
Quaternion | mRotate |
|
Simple constructor, only used for creating temp objects.
|
|
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
|
|
Gets the rotation applied by this keyframe.
|
|
Gets the scaling factor applied by this keyframe.
|
|
Gets the time of this keyframe in the animation sequence.
|
|
Gets the translation applied by this keyframe.
|
|
Sets the rotation applied by this keyframe.
|
|
Sets the scaling factor applied by this keyframe to the animable object at it's time index.
|
|
Sets the translation associated with this keyframe.
|
|
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team