OGRE  13.6
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)
 
Real calculate (Real source) override
 
- 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...
 

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)

Member Function Documentation

◆ create()

static ControllerFunctionRealPtr Ogre::PassthroughControllerFunction::create ( bool  deltaInput = false)
inlinestatic

Constructor.

Parameters
deltaInputIf true, function will add input values together and wrap at 1.0 before evaluating

◆ calculate()

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

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