pub struct Skybox {
pub m_CustomSkybox: PPtr,
pub m_Enabled: u8,
pub m_GameObject: PPtr,
}Expand description
Skybox is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: A script interface for the skybox component. The skybox class has only the material property.See Also: skybox component.
Fields§
§m_CustomSkybox: PPtrPPtr<Material>: (3.4.0 - 2022.3.2f1)
m_Enabled: u8Enabled Behaviours are Updated, disabled Behaviours are not.
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)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Skybox
impl<'de> Deserialize<'de> for Skybox
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 Skybox
impl RefUnwindSafe for Skybox
impl Send for Skybox
impl Sync for Skybox
impl Unpin for Skybox
impl UnwindSafe for Skybox
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