Skip to main content

sample_path

Function sample_path 

Source
pub fn sample_path(animation: &Animated<Path>, time: MediaTime) -> EvaluatedPath
Expand description

Samples an animated path: every point and tangent moves along a straight line between keyframes, in f64. Validation keeps the keyframes alike in structure; were they not, the left keyframe’s path is held.