pub struct SplatDatabase {
pub m_AlphaTextures: Vec<PPtr>,
pub m_AlphamapResolution: i32,
pub m_BaseMapResolution: i32,
pub m_ColorSpace: Option<i32>,
pub m_MaterialRequiresMetallic: Option<bool>,
pub m_MaterialRequiresSmoothness: Option<bool>,
pub m_Splats: Option<Vec<SplatPrototype>>,
pub m_TerrainLayers: Option<Vec<PPtr>>,
}Expand description
SplatDatabase is a sub class of the Unity engine since version 3.4.0.
Fields§
§m_AlphaTextures: Vec<PPtr>Vec<PPtr<Texture2D>>: (3.4.0 - 2022.3.2f1)
m_AlphamapResolution: i32§m_BaseMapResolution: i32§m_ColorSpace: Option<i32>i32: (5.0.1f1 - 2018.2.21f1)
m_MaterialRequiresMetallic: Option<bool>bool: (5.0.1f1 - 2018.2.21f1)
m_MaterialRequiresSmoothness: Option<bool>bool: (5.0.1f1 - 2018.2.21f1)
m_Splats: Option<Vec<SplatPrototype>>Vec
m_TerrainLayers: Option<Vec<PPtr>>Vec<PPtr<TerrainLayer>>: (2018.3.0f2 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for SplatDatabase
impl Debug for SplatDatabase
Source§impl<'de> Deserialize<'de> for SplatDatabase
impl<'de> Deserialize<'de> for SplatDatabase
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 SplatDatabase
impl RefUnwindSafe for SplatDatabase
impl Send for SplatDatabase
impl Sync for SplatDatabase
impl Unpin for SplatDatabase
impl UnwindSafe for SplatDatabase
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