#include <OgreKeyFrame.h>
Inheritance diagram for Ogre::TransformKeyFrame:
Public Member Functions | |
TransformKeyFrame (const AnimationTrack *parent, Real time) | |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. | |
~TransformKeyFrame () | |
virtual void | setTranslate (const Vector3 &trans) |
Sets the translation associated with this keyframe. | |
const Vector3 & | getTranslate (void) const |
Gets the translation applied by this keyframe. | |
virtual void | setScale (const Vector3 &scale) |
Sets the scaling factor applied by this keyframe to the animable object at it's time index. | |
virtual const Vector3 & | getScale (void) const |
Gets the scaling factor applied by this keyframe. | |
virtual void | setRotation (const Quaternion &rot) |
Sets the rotation applied by this keyframe. | |
virtual const Quaternion & | getRotation (void) const |
Gets the rotation applied by this keyframe. | |
virtual Real | getTime (void) const |
Gets the time of this keyframe in the animation sequence. | |
Protected Attributes | |
Vector3 | mTranslate |
Vector3 | mScale |
Quaternion | mRotate |
Real | mTime |
const AnimationTrack * | mParentTrack |
Definition at line 88 of file OgreKeyFrame.h.
|
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
|
|
Definition at line 93 of file OgreKeyFrame.h. |
|
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 61 of file OgreKeyFrame.h. |
|
Definition at line 126 of file OgreKeyFrame.h. |
|
Definition at line 125 of file OgreKeyFrame.h. |
|
Definition at line 60 of file OgreKeyFrame.h. |
|
Definition at line 124 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 Mar 12 14:39:29 2006