OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Predefined controller function which just passes through the original source directly to dest. More...
#include <OgrePredefinedControllers.h>
Public Member Functions | |
PassthroughControllerFunction (bool deltaInput=false) | |
Real | calculate (Real source) |
Public Member Functions inherited from Ogre::ControllerFunction< Real > | |
ControllerFunction (bool deltaInput) | |
Constructor. More... | |
virtual | ~ControllerFunction () |
Static Public Member Functions | |
static ControllerFunctionRealPtr | create (bool deltaInput=false) |
Constructor. More... | |
Predefined controller function which just passes through the original source directly to dest.
Ogre::PassthroughControllerFunction::PassthroughControllerFunction | ( | bool | deltaInput = false | ) |
|
inlinestatic |
Constructor.
deltaInput | If true, function will add input values together and wrap at 1.0 before evaluating |
Implements Ogre::ControllerFunction< Real >.