Skip to main content

ss_runtime_set_loop_count

Function ss_runtime_set_loop_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_set_loop_count( context: *mut c_void, loop_count: c_int, )
Expand description

n > 0 plays n cycles and then finishes; 0 or a negative count loops forever. ss_runtime_setup_animation resets it to looping forever, so set it after.