GL Studio C++ Runtime API
IFloatController Class Referenceabstract

#include <gls_linear_float_controller.h>

Inheritance diagram for IFloatController:
GlsLinearFloatController

Public Member Functions

virtual ~IFloatController ()
 
virtual float GetOutputForInput (float input)=0
 
virtual float GetFirstInputValue ()=0
 
virtual float GetLastInputValue ()=0
 

Detailed Description

IFloatController allows working with all float controllers through a common interface.

Constructor & Destructor Documentation

◆ ~IFloatController()

virtual ~IFloatController ( )
inlinevirtual

Destructor

Member Function Documentation

◆ GetFirstInputValue()

virtual float GetFirstInputValue ( )
pure virtual

The caller may use this method to determine the valid input range for the animation Note: Some controllers may always return -FLT_MAX

Returns
The first input value in the animation

Implemented in GlsLinearFloatController.

◆ GetLastInputValue()

virtual float GetLastInputValue ( )
pure virtual

The caller may use this method to determine the valid input range for the animation Note: Some controllers may always return FLT_MAX

Returns
The last input value in the animation

Implemented in GlsLinearFloatController.

◆ GetOutputForInput()

virtual float GetOutputForInput ( float  input)
pure virtual

Get the output value for a given input.

Parameters
inputThe given input value.
Returns
The output value for the given input.

Implemented in GlsLinearFloatController.


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