OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
A key frame in an animation sequence defined by an AnimationTrack. More...
#include <OgreKeyFrame.h>
Public Member Functions | |
KeyFrame (const AnimationTrack *parent, Real time) | |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. | |
virtual | ~KeyFrame () |
virtual KeyFrame * | _clone (AnimationTrack *newParent) const |
Clone a keyframe (internal use only) | |
Real | getTime (void) const |
Gets the time of this keyframe in the animation sequence. | |
A key frame in an animation sequence defined by an AnimationTrack.
This class can be used as a basis for all kinds of key frames. The unifying principle is that multiple KeyFrames define an animation sequence, with the exact state of the animation being an interpolation between these key frames.
Ogre::KeyFrame::KeyFrame | ( | const AnimationTrack * | parent, |
Real | time | ||
) |
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
|
inlinevirtual |
Gets the time of this keyframe in the animation sequence.
|
virtual |
Clone a keyframe (internal use only)
Reimplemented in Ogre::NumericKeyFrame, Ogre::TransformKeyFrame, Ogre::VertexMorphKeyFrame, and Ogre::VertexPoseKeyFrame.