Skip to main content

sample

Function sample 

Source
pub fn sample(
    animation: &Animated<f32>,
    times: &[MediaTime],
) -> Vec<CurveSample>
Expand description

The value and velocity of a number at each of times, with its extrapolation. On a keyframe, at a wrap and at a turn of ping_pong the velocity is the one the curve arrives with. A value that is not keyed has no velocity.