A ramp which goes between 0 and 1 over a set duration.
More...
#include <tracktion_ModifierInternal.h>
A ramp which goes between 0 and 1 over a set duration.
◆ Ramp()
tracktion::engine::Ramp::Ramp |
( |
| ) |
|
|
default |
◆ setDuration()
void tracktion::engine::Ramp::setDuration |
( |
float |
newDuration | ) |
|
|
noexcept |
◆ setPosition()
void tracktion::engine::Ramp::setPosition |
( |
float |
newPosition | ) |
|
|
noexcept |
◆ process()
void tracktion::engine::Ramp::process |
( |
float |
duration | ) |
|
|
noexcept |
◆ getPosition()
float tracktion::engine::Ramp::getPosition |
( |
| ) |
const |
|
noexcept |
◆ getProportion()
float tracktion::engine::Ramp::getProportion |
( |
| ) |
const |
|
noexcept |
The documentation for this struct was generated from the following file: