TracktionEngine
|
A ramp which goes between 0 and 1 over a set duration. More...
Public Member Functions | |
Ramp ()=default | |
void | setDuration (float newDuration) noexcept |
void | setPosition (float newPosition) noexcept |
void | process (float duration) noexcept |
float | getPosition () const noexcept |
float | getProportion () const noexcept |
A ramp which goes between 0 and 1 over a set duration.
|
default |
|
noexcept |
References process().
|
noexcept |
|
noexcept |
Referenced by setDuration().
|
noexcept |
|
noexcept |