template<typename T>
OrbitEngine::Math::Gradient class

Linear gradient used for animations.

Contents

Public functions

void reset()
Remove all stops.
auto empty() -> bool
Check if there are no stops defined.
void addStop(float time, const T& value)
Add a stop.
auto evaluate(float time) -> T
Evaluate the gradient.