OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Predefined controller function for dealing with animation. More...
#include <OgrePredefinedControllers.h>
Public Member Functions | |
AnimationControllerFunction (Real sequenceTime, Real timeOffset=0.0f) | |
Constructor. More... | |
Real | calculate (Real source) override |
Overridden function. More... | |
void | setSequenceTime (Real seqVal) |
Set the sequence duration value manually. More... | |
void | setTime (Real timeVal) |
Set the time value manually. More... | |
Public Member Functions inherited from Ogre::ControllerFunction< Real > | |
ControllerFunction (bool deltaInput) | |
Constructor. More... | |
virtual | ~ControllerFunction () |
Predefined controller function for dealing with animation.
Ogre::AnimationControllerFunction::AnimationControllerFunction | ( | Real | sequenceTime, |
Real | timeOffset = 0.0f |
||
) |
Constructor.
sequenceTime | The amount of time in seconds it takes to loop through the whole animation sequence. |
timeOffset | The offset in seconds at which to start (default is start at 0) |
Overridden function.
Implements Ogre::ControllerFunction< Real >.
void Ogre::AnimationControllerFunction::setSequenceTime | ( | Real | seqVal | ) |
Set the sequence duration value manually.
void Ogre::AnimationControllerFunction::setTime | ( | Real | timeVal | ) |
Set the time value manually.