Skip to main content

ss_runtime_get_active_effect_event

Function ss_runtime_get_active_effect_event 

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

Resolve the active EventEffect for slot_index on the parent’s currently selected animation, at the current frame. When no real event has fired yet, falls back to InitialEvents.effect for the slot (with is_synthetic_default = true); if neither exists, returns full SS6 defaults (start_time = 0, speed = 1.0, independent = false).