Realm

oa::anim::sample_curve

Sample a curve at time under wrap_mode. Errors Returns an error when interpolation produces a non-finite or non-normalizable value. Donor: oa::FnAnim::sample(AnimCurve).

FnRust public API

Function Documentation

pub fn sample_curve<T: AnimCurveValue>( curve: &AnimCurve<T>, time: Duration, wrap_mode: AnimWrapMode ) -> Result<T>
Sample a curve at time under wrap_mode. Errors Returns an error when interpolation produces a non-finite or non-normalizable value. Donor: oa::FnAnim::sample(AnimCurve).