Skip to main content

ss_player_set_track_loop_count

Function ss_player_set_track_loop_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_set_track_loop_count( handle: *mut SsPlayer, track: u32, count: i32, ) -> i32
Expand description

How many times track’s animation plays before it holds its last frame; -1 (or 0) loops forever. Set it after laying the animation: one is laid looping forever. On track 0 this is ss_player_set_loop_count, and the player keeps the count for every animation laid there.

§Safety

handle must be a live handle or null.