pub struct OcclusionPortal {
pub m_Center: Vector3f,
pub m_GameObject: PPtr,
pub m_Open: bool,
pub m_Size: Vector3f,
}Expand description
OcclusionPortal is a class of the Unity engine since version 3.5.0. Exert from Unity’s scripting documentation: The portal for dynamically changing occlusion at runtime.
Fields§
§m_Center: Vector3f§m_GameObject: PPtrThe game object this component is attached to. A component is always attached to a game object.
PPtr<GameObject>: (3.5.0 - 2022.3.2f1)
m_Open: boolGets / sets the portal’s open state.
m_Size: Vector3fTrait Implementations§
Source§impl Debug for OcclusionPortal
impl Debug for OcclusionPortal
Source§impl<'de> Deserialize<'de> for OcclusionPortal
impl<'de> Deserialize<'de> for OcclusionPortal
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 OcclusionPortal
impl RefUnwindSafe for OcclusionPortal
impl Send for OcclusionPortal
impl Sync for OcclusionPortal
impl Unpin for OcclusionPortal
impl UnwindSafe for OcclusionPortal
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