OGRE  1.7
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ogre::AnimationTrack::Listener Class Referenceabstract

Listener allowing you to override certain behaviour of a track, for example to drive animation procedurally. More...

#include <OgreAnimationTrack.h>

Public Member Functions

virtual ~Listener ()
 
virtual bool getInterpolatedKeyFrame (const AnimationTrack *t, const TimeIndex &timeIndex, KeyFrame *kf)=0
 Get an interpolated keyframe for this track at the given time. More...
 

Detailed Description

Listener allowing you to override certain behaviour of a track, for example to drive animation procedurally.

Definition at line 128 of file OgreAnimationTrack.h.

Constructor & Destructor Documentation

virtual Ogre::AnimationTrack::Listener::~Listener ( )
inlinevirtual

Definition at line 131 of file OgreAnimationTrack.h.

Member Function Documentation

virtual bool Ogre::AnimationTrack::Listener::getInterpolatedKeyFrame ( const AnimationTrack t,
const TimeIndex timeIndex,
KeyFrame kf 
)
pure virtual

Get an interpolated keyframe for this track at the given time.

Returns
true if the KeyFrame was populated, false if not.

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