pub struct OcclusionArea {
pub m_Center: Vector3f,
pub m_GameObject: PPtr,
pub m_IsViewVolume: bool,
pub m_Size: Vector3f,
pub m_IsTargetVolume: Option<bool>,
pub m_TargetResolution: Option<i32>,
}Expand description
OcclusionArea is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: OcclusionArea is an area in which occlusion culling is performed.
Fields§
§m_Center: Vector3fCenter of the occlusion area relative to the transform.
m_GameObject: PPtrThe game object this component is attached to. A component is always attached to a game object.
PPtr<GameObject>: (3.4.0 - 2022.3.2f1)
m_IsViewVolume: bool§m_Size: Vector3fSize that the occlusion area will have.
m_IsTargetVolume: Option<bool>bool: (3.4.0 - 4.2.2)
m_TargetResolution: Option<i32>i32: (3.4.0 - 4.2.2)
Trait Implementations§
Source§impl Debug for OcclusionArea
impl Debug for OcclusionArea
Source§impl<'de> Deserialize<'de> for OcclusionArea
impl<'de> Deserialize<'de> for OcclusionArea
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OcclusionArea
impl RefUnwindSafe for OcclusionArea
impl Send for OcclusionArea
impl Sync for OcclusionArea
impl Unpin for OcclusionArea
impl UnwindSafe for OcclusionArea
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