#[unsafe(no_mangle)]pub unsafe extern "C" fn ss_player_set_track_animation(
handle: *mut SsPlayer,
track: u32,
anim_name: *const c_char,
) -> i32Expand description
Put anim_name on track, replacing what it was playing. Track 0 is better
set with ss_player_set_animation, which rebuilds the instance tree; this is
for the overlay tracks above it. On track 0 it still makes anim_name the
current animation.
ยงSafety
handle must be a live handle or null; anim_name a NUL-terminated UTF-8 string.