Function keyframe::ease_with_unbounded_time
source · [−]pub fn ease_with_unbounded_time<V: CanTween, F: EasingFunction>(
function: impl Borrow<F>,
from: V,
to: V,
time: impl Float
) -> V
Expand description
Returns the value at a specified X position on the curve between point A and point B. The time argument is expected to stay within a range of 0.0 to 1.0 but bounds checking is not enforced.