Struct raylib::ease::Tween [−][src]
pub struct Tween { /* fields omitted */ }
Expand description
A manager for a tween on a single f32
value.
Implementations
Creates a new Tween
given the easing function, value bounds, and duration.
Returns true if the tween has completed.
Returns the new value after applying the tween, advancing time by time_advance
.
Reverses the tween, adjusting the current time position such that it will retrace its steps so far.
Returns the current time position of the tween.
Returns the starting value of the tween.