pub struct LightmapSnapshot {Show 17 fields
pub m_BakedReflectionProbeCubemaps: Vec<PPtr>,
pub m_BakedReflectionProbes: Vec<SceneObjectIdentifier>,
pub m_EnlightenData: Vec<u8>,
pub m_EnlightenSceneMapping: EnlightenSceneMapping,
pub m_EnlightenSceneMappingRendererIDs: Vec<SceneObjectIdentifier>,
pub m_LightProbes: PPtr,
pub m_LightmappedRendererData: Vec<RendererData>,
pub m_LightmappedRendererDataIDs: Vec<SceneObjectIdentifier>,
pub m_Lightmaps: Vec<LightmapData>,
pub m_Lights: Vec<SceneObjectIdentifier>,
pub m_Name: String,
pub m_BakedAmbientProbeInGamma: Option<SphericalHarmonicsL2>,
pub m_BakedAmbientProbeInLinear: Option<SphericalHarmonicsL2>,
pub m_BakedAmbientProbesInGamma: Option<Vec<SphericalHarmonicsL2>>,
pub m_BakedAmbientProbesInLinear: Option<Vec<SphericalHarmonicsL2>>,
pub m_BakedSkyboxProbeCubemaps: Option<Vec<PPtr>>,
pub m_SceneGUID: Option<GUID>,
}Expand description
LightmapSnapshot is a class of the Unity engine since version 5.0.0f4.
Fields§
§m_BakedReflectionProbeCubemaps: Vec<PPtr>Vec<PPtr<Texture>>: (5.0.0f4 - 5.2.5f1)
m_BakedReflectionProbes: Vec<SceneObjectIdentifier>§m_EnlightenData: Vec<u8>§m_EnlightenSceneMapping: EnlightenSceneMapping§m_EnlightenSceneMappingRendererIDs: Vec<SceneObjectIdentifier>§m_LightProbes: PPtrPPtr<LightProbes>: (5.0.0f4 - 5.2.5f1)
m_LightmappedRendererData: Vec<RendererData>§m_LightmappedRendererDataIDs: Vec<SceneObjectIdentifier>§m_Lightmaps: Vec<LightmapData>§m_Lights: Vec<SceneObjectIdentifier>§m_Name: String§m_BakedAmbientProbeInGamma: Option<SphericalHarmonicsL2>SphericalHarmonicsL2: (5.2.0f2 - 5.2.5f1)
m_BakedAmbientProbeInLinear: Option<SphericalHarmonicsL2>SphericalHarmonicsL2: (5.2.0f2 - 5.2.5f1)
m_BakedAmbientProbesInGamma: Option<Vec<SphericalHarmonicsL2>>Vec
m_BakedAmbientProbesInLinear: Option<Vec<SphericalHarmonicsL2>>Vec
m_BakedSkyboxProbeCubemaps: Option<Vec<PPtr>>Vec<PPtr<Texture>>: (5.0.0f4 - 5.1.5f1)
m_SceneGUID: Option<GUID>GUID: (5.2.0f2 - 5.2.5f1)
Trait Implementations§
Source§impl Debug for LightmapSnapshot
impl Debug for LightmapSnapshot
Source§impl<'de> Deserialize<'de> for LightmapSnapshot
impl<'de> Deserialize<'de> for LightmapSnapshot
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 LightmapSnapshot
impl RefUnwindSafe for LightmapSnapshot
impl Send for LightmapSnapshot
impl Sync for LightmapSnapshot
impl Unpin for LightmapSnapshot
impl UnwindSafe for LightmapSnapshot
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