#[unsafe(no_mangle)]pub unsafe extern "C" fn ss_player_set_animation(
handle: *mut SsPlayer,
anim_name: *const c_char,
) -> i32Expand description
Select the animation to play, rebuilding the instance tree. It is left at its
start frame and not playing — call ss_player_play to start it.
This is where playback allocates (contexts, slots), so ss_player_play and
the other transport calls stay allocation-free.
§Safety
anim_name must be a NUL-terminated UTF-8 string.