#include <SmoothedFloat.h>
|
| float | getSmoothedValue () |
| | increments the value by the required increment and gets smootedValue
|
| |
| float | getTarget () const |
| | gets the target value
|
| |
| void | setTarget (int blockSize, float newTarget) |
| | sets the target with a block size
|
| |
◆ getSmoothedValue()
| float krotos::SmoothedFloat::getSmoothedValue |
( |
| ) |
|
|
inline |
increments the value by the required increment and gets smootedValue
- Returns
- the current value
◆ getTarget()
| float krotos::SmoothedFloat::getTarget |
( |
| ) |
const |
gets the target value
- Returns
◆ setTarget()
| void krotos::SmoothedFloat::setTarget |
( |
int | blockSize, |
|
|
float | newTarget ) |
sets the target with a block size
- Parameters
-
| blockSize | the number of samples to smooth through |
| newTarget | the target we want to reach |
◆ m_current
| float krotos::SmoothedFloat::m_current {0.0f} |
|
private |
◆ m_increment
| float krotos::SmoothedFloat::m_increment {0.0f} |
|
private |
◆ m_target
| float krotos::SmoothedFloat::m_target {0.0f} |
|
private |
The documentation for this class was generated from the following files: