Skip to main content

ss_player_is_part_hidden

Function ss_player_is_part_hidden 

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

Whether part is hidden on the frame the last ss_scene_update built: 1 hidden, 0 shown or no frame built yet, or -1 when the name is unknown, part is not valid UTF-8, or no animation is set up. An override shows from the next update.

The companion to ss_player_part_transform, which reports where a part would be whether or not it is drawn: a host following a part needs both. Like ss_player_is_part_skinned_mesh it returns a value rather than a status, so it does not touch ss_last_error.

ยงSafety

handle must be a live handle or null; part must be a valid null-terminated C string.