Instances of this class 'control' the value of another object in the system.
More...
#include <OgreController.h>
template<typename T>
class Ogre::Controller< T >
Instances of this class 'control' the value of another object in the system.
- The Controller is an intentionally abstract concept - it can generate values based on input and a function, which can either be one of the standard ones supplied, or a function can be 'plugged in' for custom behaviour - see the ControllerFunction class for details. Both the input and output values are via ControllerValue objects, meaning that any value can be both input and output of the controller.
- Whilst this is very flexible, it can be a little bit confusing so to make it simpler the most often used controller setups are available by calling methods on the ControllerManager object.
- See also
- ControllerFunction
◆ Controller()
◆ ~Controller()
◆ getDestination()
Gets the output controller value.
◆ getEnabled()
Returns true if this controller is currently enabled.
◆ getFunction()
Returns a pointer to the function object used by this controller.
◆ getSource()
Gets the input controller value.
◆ setDestination()
Sets the output controller value.
◆ setEnabled()
Sets whether this controller is enabled.
◆ setFunction()
Sets the function object to be used by this controller.
◆ setSource()
Sets the input controller value.
◆ update()
Tells this controller to map it's input controller value to it's output controller value, via the controller function.
The documentation for this class was generated from the following file: