Skip to main content

ss_player_set_culled

Function ss_player_set_culled 

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

Skip this player entirely when true: its timeline does not advance and it produces no geometry, and the time spent culled is dropped. For a player the caller knows cannot be seen; use ss_player_set_visible(false) to hide one that should keep playing.

ยงSafety

handle must be a live handle or null.