Skip to main content

ss_effect_slot_reset

Function ss_effect_slot_reset 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_effect_slot_reset(slot: *mut c_void)
Expand description

Reset the slot’s playback / “last started key” memory to its just-created state without destroying it. Call on an explicit head-out (ss_runtime_play / replay) so a re-played animation re-fires its effect from scratch instead of debouncing the first key as the same one the slot last started. The resource binding and emitter caches are preserved.