Skip to main content

ss_player_set_part_visibility_override_by_index

Function ss_player_set_part_visibility_override_by_index 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_set_part_visibility_override_by_index( handle: *mut SsPlayer, part: u32, hide: bool, cascade: bool, ) -> i32
Expand description

Force-hide a part (hide true) or revert it to the animation. cascade propagates a force-hide to the part’s descendants — a keyframe hide never cascades, so this is the only way to hide a sub-tree.

§Safety

handle must be a live handle or null.