Skip to main content

ss_runtime_setup_animation

Function ss_runtime_setup_animation 

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

Select the animation name of the bound resource and move to its first frame. This does not start it; ss_runtime_play does. It drops every track but 0, the section and the loop count, and keeps the speed, the frame rate, the frame skip and the direction. Returns false with NotLoaded, AnimationNotFound, or InvalidParameter for a null name.

ยงSafety

name must be null or a valid null-terminated string.