pub struct VisRegionData {
pub self_key: Option<Uoid>,
pub region_key: Option<Uoid>,
pub disable_normal: bool,
pub is_not: bool,
pub replace_normal: bool,
pub disabled: bool,
}Expand description
A visibility region — groups objects by visibility. C++ ref: plVisRegion.h — properties kDisable=0, kIsNot=1, kReplaceNormal=2, kDisableNormal=3
Fields§
§self_key: Option<Uoid>§region_key: Option<Uoid>Key to the soft volume region (plRegionBase / plSoftVolume).
disable_normal: boolIf true, this region disables normal rendering when active.
is_not: boolIf true, this is a “not” region — excludes objects from rendering.
replace_normal: boolIf true, replaces normal visibility (default: true).
disabled: boolIf true, region is disabled and always returns false.
Trait Implementations§
Source§impl Clone for VisRegionData
impl Clone for VisRegionData
Source§fn clone(&self) -> VisRegionData
fn clone(&self) -> VisRegionData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VisRegionData
impl Debug for VisRegionData
Auto Trait Implementations§
impl Freeze for VisRegionData
impl RefUnwindSafe for VisRegionData
impl Send for VisRegionData
impl Sync for VisRegionData
impl Unpin for VisRegionData
impl UnsafeUnpin for VisRegionData
impl UnwindSafe for VisRegionData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more