OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::AnimationControllerFunction Class Reference

Predefined controller function for dealing with animation. More...

#include <OgrePredefinedControllers.h>

+ Inheritance diagram for Ogre::AnimationControllerFunction:

Public Member Functions

 AnimationControllerFunction (Real sequenceTime, Real timeOffset=0.0f)
 Constructor. More...
 
Real calculate (Real source) override
 Overridden function. 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...
 
void setSequenceTime (Real seqVal)
 Set the sequence duration value manually. More...
 
void setTime (Real timeVal)
 Set the time value manually. More...
 

Detailed Description

Predefined controller function for dealing with animation.

Constructor & Destructor Documentation

◆ AnimationControllerFunction()

Ogre::AnimationControllerFunction::AnimationControllerFunction ( Real  sequenceTime,
Real  timeOffset = 0.0f 
)

Constructor.

Parameters
sequenceTimeThe amount of time in seconds it takes to loop through the whole animation sequence.
timeOffsetThe offset in seconds at which to start (default is start at 0)

Member Function Documentation

◆ calculate()

Real Ogre::AnimationControllerFunction::calculate ( Real  source)
overridevirtual

Overridden function.

Implements Ogre::ControllerFunction< Real >.

◆ 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

◆ setSequenceTime()

void Ogre::AnimationControllerFunction::setSequenceTime ( Real  seqVal)

Set the sequence duration value manually.

◆ setTime()

void Ogre::AnimationControllerFunction::setTime ( Real  timeVal)

Set the time value manually.


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