pub struct ShadowSettings {
pub m_Bias: f32,
pub m_Resolution: i32,
pub m_Strength: f32,
pub m_Type: i32,
pub m_CullingMatrixOverride: Option<Matrix4x4f>,
pub m_CustomResolution: Option<i32>,
pub m_NearPlane: Option<f32>,
pub m_NormalBias: Option<f32>,
pub m_Softness: Option<f32>,
pub m_SoftnessFade: Option<f32>,
pub m_UseCullingMatrixOverride: Option<bool>,
}Expand description
ShadowSettings is a sub class of the Unity engine since version 3.4.0.
Fields§
§m_Bias: f32§m_Resolution: i32§m_Strength: f32§m_Type: i32§m_CullingMatrixOverride: Option<Matrix4x4f>Matrix4x4f: (2019.1.0f2 - 2022.3.2f1)
m_CustomResolution: Option<i32>i32: (5.4.0f3 - 2022.3.2f1)
m_NearPlane: Option<f32>f32: (5.3.0f1 - 2022.3.2f1)
m_NormalBias: Option<f32>f32: (5.0.0f4 - 2022.3.2f1)
m_Softness: Option<f32>f32: (3.4.0 - 4.7.2)
m_SoftnessFade: Option<f32>f32: (3.4.0 - 4.7.2)
m_UseCullingMatrixOverride: Option<bool>bool: (2019.1.0f2 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for ShadowSettings
impl Debug for ShadowSettings
Source§impl<'de> Deserialize<'de> for ShadowSettings
impl<'de> Deserialize<'de> for ShadowSettings
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 ShadowSettings
impl RefUnwindSafe for ShadowSettings
impl Send for ShadowSettings
impl Sync for ShadowSettings
impl Unpin for ShadowSettings
impl UnwindSafe for ShadowSettings
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