OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::v1::NumericKeyFrame Class Referencefinal

Specialised KeyFrame which stores any numeric value. More...

#include <OgreKeyFrame.h>

+ Inheritance diagram for Ogre::v1::NumericKeyFrame:

Public Member Functions

 NumericKeyFrame (const AnimationTrack *parent, Real time)
 Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More...
 
 ~NumericKeyFrame ()
 
KeyFrame_clone (AnimationTrack *newParent) const override
 Clone a keyframe (internal use only) More...
 
Real getTime () const
 Gets the time of this keyframe in the animation sequence. More...
 
virtual const AnyNumericgetValue () const
 Get the value at this keyframe. More...
 
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 More...
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
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 More...
 
virtual void setValue (const AnyNumeric &val)
 Set the value at this keyframe. More...
 

Detailed Description

Specialised KeyFrame which stores any numeric value.

Constructor & Destructor Documentation

◆ NumericKeyFrame()

Ogre::v1::NumericKeyFrame::NumericKeyFrame ( const AnimationTrack parent,
Real  time 
)

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

◆ ~NumericKeyFrame()

Ogre::v1::NumericKeyFrame::~NumericKeyFrame ( )
inline

Member Function Documentation

◆ _clone()

KeyFrame* Ogre::v1::NumericKeyFrame::_clone ( AnimationTrack newParent) const
overridevirtual

Clone a keyframe (internal use only)

Reimplemented from Ogre::v1::KeyFrame.

◆ getTime()

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

Gets the time of this keyframe in the animation sequence.

◆ getValue()

virtual const AnyNumeric& Ogre::v1::NumericKeyFrame::getValue ( ) const
virtual

Get the value at this keyframe.

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

◆ operator delete() [2/3]

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

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

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

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

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

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

◆ operator new() [1/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

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

operator new, with debug line info

◆ operator new() [3/3]

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

placement operator new

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

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

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

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

array operator new, with debug line info

◆ setValue()

virtual void Ogre::v1::NumericKeyFrame::setValue ( const AnyNumeric val)
virtual

Set the value at this keyframe.

Remarks
All keyframe values must have a consistent type.

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