OGRE-Next: Ogre::AnimationControllerFunction Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::AnimationControllerFunction Class Reference
Core » General

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

`#include <OgrePredefinedControllers.h>`

Inheritance diagram for Ogre::AnimationControllerFunction:
[legend]

## Public Member Functions
| AnimationControllerFunction (Real sequenceTime, Real timeOffset=0.0f)
| Constructor.
Real | calculate (Real source) override
| Overridden function.
void | setSequenceTime (Real seqVal)
| Set the sequence duration value manually.
void | setTime (Real timeVal)
| Set the time value manually.
Public Member Functions inherited from Ogre::ControllerFunction< Real >
| ControllerFunction (bool deltaInput)
| Constructor.
virtual | ~ControllerFunction ()

## Detailed Description

Predefined controller function for dealing with animation.

## Constructor & Destructor Documentation

## ◆ AnimationControllerFunction()

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

Constructor.

Parameters

  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)

## Member Function Documentation

## ◆ calculate()

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

Overridden function.

Implements Ogre::ControllerFunction< Real >.

## ◆ 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:

- OgrePredefinedControllers.h