OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
SceneUtil::ControllerFunction Class Referenceabstract

#include <controller.hpp>

Inheritance diagram for SceneUtil::ControllerFunction:
Collaboration diagram for SceneUtil::ControllerFunction:

Public Member Functions

virtual float calculate (float input) const =0
 
virtual float getMaximum () const =0
 

Detailed Description

Note
ControllerFunctions may be shared - you should not hold any state in it. That is why all its methods are declared const.

Member Function Documentation

virtual float SceneUtil::ControllerFunction::calculate ( float  input) const
pure virtual

Implemented in NifOsg::ControllerFunction.

virtual float SceneUtil::ControllerFunction::getMaximum ( ) const
pure virtual

Get the "stop time" of the controller function, typically the maximum of the calculate() function. May not be meaningful for all types of controller functions.

Implemented in NifOsg::ControllerFunction.


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