pub struct Scene {
pub enabled: Option<bool>,
pub guid: Option<GUID>,
pub m_PVSData: Option<Vec<u8>>,
pub m_PVSObjectsArray: Option<Vec<PPtr>>,
pub m_PVSPortalsArray: Option<Vec<PPtr>>,
pub m_QueryMode: Option<u32>,
pub path: Option<String>,
}Expand description
Scene is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: Run-time data structure for *.unity file.
Fields§
§enabled: Option<bool>bool: (4.0.0 - 2022.3.2f1)
guid: Option<GUID>GUID: (5.6.0f1 - 2022.3.2f1)
m_PVSData: Option<Vec<u8>>Vec
m_PVSObjectsArray: Option<Vec<PPtr>>Vec<PPtr<Renderer>>: (3.4.0 - 3.5.7)
m_PVSPortalsArray: Option<Vec<PPtr>>Vec<PPtr<OcclusionPortal>>: (3.5.0 - 3.5.7)
m_QueryMode: Option<u32>u32: (3.5.0 - 3.5.7)
path: Option<String>Returns the relative path of the Scene. For example: “Assets/MyScenes/MyScene.unity”. String: (4.0.0 - 2022.3.2f1)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scene
impl<'de> Deserialize<'de> for Scene
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 Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnwindSafe for Scene
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