Skip to main content

ss_runtime_get_current_animation_index

Function ss_runtime_get_current_animation_index 

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

Which animation track 0’s main source plays, as an index into the ssab’s animations(): a crossfade or a track animation on track 0 changes it from the call on. -1 before anything is set up.