Skip to main content

sample_vec2

Function sample_vec2 

Source
pub fn sample_vec2(animation: &Animated<Vec2>, time: MediaTime) -> Vec2
Expand description

Samples one animated two-dimensional value with the project’s keyframe semantics; see sample_scalar. A position that may follow spatial curves is sampled with sample_point.