Skip to main content

ss_runtime_get_source_animation_index

Function ss_runtime_get_source_animation_index 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_get_source_animation_index( context: *mut c_void, handle: u32, ) -> i32
Expand description

Which animation the source handle plays, as an index into the ssab’s animations(); -1 for a handle that names no source. An event index addresses the events() of the animation of the source that fired it (ss_runtime_get_passed_event_source_handle), track 0’s included: after a crossfade on track 0 that is the incoming animation.