Skip to main content

sample_hold

Function sample_hold 

Source
pub fn sample_hold<T: Clone + Default>(
    animation: &Animated<T>,
    time: MediaTime,
) -> T
Expand description

Samples a value that does not interpolate: the last keyframe at or before time, else the first.