OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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.
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.
void operator delete (void *ptr)
void operator delete (void *ptr, const char *, int, const char *)
void operator delete (void *ptr, void *)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, const char *, int, const char *)
void * operator new (size_t sz)
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info

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 )

◆ ~KeyFrame()

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

Member Function Documentation

◆ _clone()

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

Clone a keyframe (internal use only).

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

References KeyFrame().

◆ getTime()

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

Gets the time of this keyframe in the animation sequence.

◆ operator delete() [1/3]

void Ogre::AllocatedObject< AnimationAllocPolicy >::operator delete ( void * ptr)
inlineinherited

◆ operator delete() [2/3]

void Ogre::AllocatedObject< AnimationAllocPolicy >::operator delete ( void * ptr,
const char * ,
int ,
const char *  )
inlineinherited

◆ operator delete() [3/3]

void Ogre::AllocatedObject< AnimationAllocPolicy >::operator delete ( void * ptr,
void *  )
inlineinherited

◆ operator delete[]() [1/2]

void Ogre::AllocatedObject< AnimationAllocPolicy >::operator delete[] ( void * ptr)
inlineinherited

◆ operator delete[]() [2/2]

void Ogre::AllocatedObject< AnimationAllocPolicy >::operator delete[] ( void * ptr,
const char * ,
int ,
const char *  )
inlineinherited

◆ operator new() [1/3]

void * Ogre::AllocatedObject< AnimationAllocPolicy >::operator new ( size_t sz)
inlineinherited

◆ operator new() [2/3]

void * Ogre::AllocatedObject< AnimationAllocPolicy >::operator new ( size_t sz,
const char * file,
int line,
const char * func )
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

void * Ogre::AllocatedObject< AnimationAllocPolicy >::operator new ( size_t sz,
void * ptr )
inlineinherited

placement operator new

◆ operator new[]() [1/2]

void * Ogre::AllocatedObject< AnimationAllocPolicy >::operator new[] ( size_t sz)
inlineinherited

◆ operator new[]() [2/2]

void * Ogre::AllocatedObject< AnimationAllocPolicy >::operator new[] ( size_t sz,
const char * file,
int line,
const char * func )
inlineinherited

array operator new, with debug line info


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