soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SAccelerateDecelerateInterpolator Class Reference

An interpolator where the rate of change starts and ends slowly, accelerating in the middle. More...

#include <SInterpolatorImpl.h>

Public Member Functions

float getInterpolation (float input) SCONST OVERRIDE
 Gets the interpolated value for the given input.
 

Detailed Description

An interpolator where the rate of change starts and ends slowly, accelerating in the middle.

Definition at line 99 of file SInterpolatorImpl.h.

Member Function Documentation

◆ getInterpolation()

float SAccelerateDecelerateInterpolator::getInterpolation ( float input)

Gets the interpolated value for the given input.

Parameters
inputThe input value between 0 and 1.
Returns
The interpolated value.

Definition at line 60 of file SInterpolatorImpl.cpp.


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