#include <OgreKeyFrame.h>
Public Member Functions | |
KeyFrame (const AnimationTrack *parent, Real time) | |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. | |
Real | getTime (void) const |
Gets the time of this keyframe in the animation sequence. | |
void | setTranslate (const Vector3 &trans) |
Sets the translation associated with this keyframe. | |
const Vector3 & | getTranslate (void) const |
Gets the translation applied by this keyframe. | |
void | setScale (const Vector3 &scale) |
Sets the scaling factor applied by this keyframe to the animable object at it's time index. | |
const Vector3 & | getScale (void) const |
Gets the scaling factor applied by this keyframe. | |
void | setRotation (const Quaternion &rot) |
Sets the rotation applied by this keyframe. | |
const Quaternion & | getRotation (void) const |
Gets the rotation applied by this keyframe. | |
Protected Attributes | |
Real | mTime |
Vector3 | mTranslate |
Vector3 | mScale |
Quaternion | mRotate |
const AnimationTrack * | mParentTrack |
Definition at line 43 of file OgreKeyFrame.h.
|
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.
|
|
Definition at line 88 of file OgreKeyFrame.h. |
|
Definition at line 87 of file OgreKeyFrame.h. |
|
Definition at line 86 of file OgreKeyFrame.h. |
|
Definition at line 84 of file OgreKeyFrame.h. |
|
Definition at line 85 of file OgreKeyFrame.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:00:53 2006