Skip to main content

ss_player_set_visible

Function ss_player_set_visible 

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

Draw nothing when false, while the timeline keeps running: the playhead advances and events are reported, so hiding a character for a moment does not slow it down. Use ss_player_set_culled to stop paying for a player that cannot be seen at all.

ยงSafety

handle must be a live handle or null.