| GL Studio C++ Runtime API

Public Member Functions | List of all members
IFloatController Class Referenceabstract

`#include <gls_linear_float_controller.h>`

Inheritance diagram for IFloatController:

## 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 | ( |  | ) |
| inline virtual

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

  input | The 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:

- gls_linear_float_controller.h