TracktionEngine
Public Member Functions | List of all members
tracktion::engine::ValueSmoother< T > Class Template Reference

Smooths a value between 0 and 1 at a constant rate. More...

Public Member Functions

void reset (double sr, double time)
 
getCurrentValue ()
 
void setValue (T v)
 
void snapToValue ()
 
void process (int n)
 
getNextValue ()
 
void setValueUnsmoothed (T v)
 

Detailed Description

template<class T>
class tracktion::engine::ValueSmoother< T >

Smooths a value between 0 and 1 at a constant rate.

Member Function Documentation

◆ reset()

template<class T >
void tracktion::engine::ValueSmoother< T >::reset ( double  sr,
double  time 
)

◆ getCurrentValue()

template<class T >
T tracktion::engine::ValueSmoother< T >::getCurrentValue ( )

◆ setValue()

template<class T >
void tracktion::engine::ValueSmoother< T >::setValue ( v)

◆ snapToValue()

template<class T >
void tracktion::engine::ValueSmoother< T >::snapToValue ( )

◆ process()

template<class T >
void tracktion::engine::ValueSmoother< T >::process ( int  n)

◆ getNextValue()

template<class T >
T tracktion::engine::ValueSmoother< T >::getNextValue ( )

◆ setValueUnsmoothed()

template<class T >
void tracktion::engine::ValueSmoother< T >::setValueUnsmoothed ( v)

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