OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::KeyFrame Class Reference

A key frame in an animation sequence defined by an AnimationTrack. More...

#include <OgreKeyFrame.h>

+ Inheritance diagram for Ogre::KeyFrame:

Public Member Functions

 KeyFrame (const AnimationTrack *parent, Real time)
 Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More...
 
virtual ~KeyFrame ()
 
virtual KeyFrame_clone (AnimationTrack *newParent) const
 Clone a keyframe (internal use only) More...
 
Real getTime (void) const
 Gets the time of this keyframe in the animation sequence. More...
 

Detailed Description

A key frame in an animation sequence defined by an AnimationTrack.

Remarks
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.

Constructor & Destructor Documentation

◆ KeyFrame()

Ogre::KeyFrame::KeyFrame ( const AnimationTrack parent,
Real  time 
)

Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.

◆ ~KeyFrame()

virtual Ogre::KeyFrame::~KeyFrame ( )
inlinevirtual

Member Function Documentation

◆ getTime()

Real Ogre::KeyFrame::getTime ( void  ) const
inline

Gets the time of this keyframe in the animation sequence.

◆ _clone()

virtual KeyFrame* Ogre::KeyFrame::_clone ( AnimationTrack newParent) const
virtual

Clone a keyframe (internal use only)

Reimplemented in Ogre::VertexPoseKeyFrame, Ogre::VertexMorphKeyFrame, Ogre::TransformKeyFrame, and Ogre::NumericKeyFrame.


The documentation for this class was generated from the following file: