Skip to main content

control_animation

Function control_animation 

Source
pub fn control_animation(
    node_id: u32,
    animation_id: u32,
    property: AnimatedProperty,
    slot: u8,
    op: AnimationControl,
    at_time_nanos: u64,
)
Expand description

Pauses, resumes or cancels the animation playing under (node_id, property, slot), if it is still the one called animation_id. It goes out with the next batch.