Skip to main content

ss_player_current_animation

Function ss_player_current_animation 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_current_animation( handle: *mut SsPlayer, ) -> *const c_char
Expand description

The animation currently set up, or null before the first ss_player_set_animation and again after a load replaced the pack. No animation is not a failure, so that null leaves ss_last_error alone.

The string stays valid until the next call to this function on the same scene. Copy it if you need to keep it.

ยงSafety

handle must be a live handle or null.