OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::v1::KeyFrame Class Reference

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

#include <OgreKeyFrame.h>

+ Inheritance diagram for Ogre::v1::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 () 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::v1::KeyFrame::KeyFrame ( const AnimationTrack parent,
Real  time 
)

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

◆ ~KeyFrame()

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

Member Function Documentation

◆ _clone()

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

◆ getTime()

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

Gets the time of this keyframe in the animation sequence.


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