OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::PassthroughControllerFunction Class Reference

Predefined controller function which just passes through the original source directly to dest. More...

#include <OgrePredefinedControllers.h>

+ Inheritance diagram for Ogre::PassthroughControllerFunction:

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 ()
 

Detailed Description

Predefined controller function which just passes through the original source directly to dest.

Constructor & Destructor Documentation

◆ PassthroughControllerFunction()

Ogre::PassthroughControllerFunction::PassthroughControllerFunction ( bool  deltaInput = false)

Constructor.

Parameters
deltaInputIf 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.

Member Function Documentation

◆ calculate()

Real Ogre::PassthroughControllerFunction::calculate ( Real  source)
overridevirtual

Overridden function.

Implements Ogre::ControllerFunction< Real >.


The documentation for this class was generated from the following file: