Skip to main content

ss_runtime_set_track_animation

Function ss_runtime_set_track_animation 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_set_track_animation( context: *mut c_void, track: u32, name: *const c_char, ) -> bool
Expand description

Put name on track, replacing what it played and cancelling its fade. Tracks grow on demand. Returns false with NotLoaded, AnimationNotFound (an unknown name, or no ss_runtime_setup_animation yet), or InvalidParameter for a null name.

ยงSafety

name must be a valid null-terminated UTF-8 (or lossy-decodable) string.