OGRE-Next
3.0.0
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) | |
Constructor. More... | |
Real | calculate (Real source) override |
Overridden function. More... | |
Public Member Functions inherited from Ogre::ControllerFunction< Real > | |
ControllerFunction (bool deltaInput) | |
Constructor. More... | |
virtual | ~ControllerFunction () |
Predefined controller function which just passes through the original source directly to dest.
Ogre::PassthroughControllerFunction::PassthroughControllerFunction | ( | bool | deltaInput = false | ) |
Constructor.
deltaInput | If true, signifies that the input will be a delta value such that the function should add it to an internal counter before calculating the output. |
Overridden function.
Implements Ogre::ControllerFunction< Real >.