Skip to main content

ss_player_is_playing_forward

Function ss_player_is_playing_forward 

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

Which way the playhead is actually travelling — not the heading ss_player_set_playback_direction configured, which ss_player_playback_direction reports. Under ping-pong the return leg runs backward while the configured heading still reads forward. Gate audio on this: SpriteStudio has no reverse audio. True with no animation set up.

§Safety

handle must be a live handle or null.