pub struct RenderSettings {Show 30 fields
pub m_FlareStrength: f32,
pub m_Fog: bool,
pub m_FogColor: ColorRGBA,
pub m_FogDensity: f32,
pub m_FogMode: i32,
pub m_HaloStrength: f32,
pub m_HaloTexture: PPtr,
pub m_LinearFogEnd: f32,
pub m_LinearFogStart: f32,
pub m_SkyboxMaterial: PPtr,
pub m_SpotCookie: PPtr,
pub m_AmbientEquatorColor: Option<ColorRGBA>,
pub m_AmbientGroundColor: Option<ColorRGBA>,
pub m_AmbientIntensity: Option<f32>,
pub m_AmbientLight: Option<ColorRGBA>,
pub m_AmbientMode: Option<i32>,
pub m_AmbientProbe: Option<SphericalHarmonicsL2>,
pub m_AmbientProbeInGamma: Option<SphericalHarmonicsL2>,
pub m_AmbientSkyColor: Option<ColorRGBA>,
pub m_CustomReflection: Option<PPtr>,
pub m_DefaultReflectionMode: Option<i32>,
pub m_DefaultReflectionResolution: Option<i32>,
pub m_FlareFadeSpeed: Option<f32>,
pub m_GeneratedSkyboxReflection: Option<PPtr>,
pub m_IndirectSpecularColor: Option<ColorRGBA>,
pub m_ReflectionBounces: Option<i32>,
pub m_ReflectionIntensity: Option<f32>,
pub m_SubtractiveShadowColor: Option<ColorRGBA>,
pub m_Sun: Option<PPtr>,
pub m_UseRadianceAmbientProbe: Option<bool>,
}Expand description
RenderSettings is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: Experimental render settings features. See Also: RenderSettings.
Fields§
§m_FlareStrength: f32§m_Fog: bool§m_FogColor: ColorRGBA§m_FogDensity: f32§m_FogMode: i32§m_HaloStrength: f32§m_HaloTexture: PPtrPPtr<Texture2D>: (3.4.0 - 2022.3.2f1)
m_LinearFogEnd: f32§m_LinearFogStart: f32§m_SkyboxMaterial: PPtrPPtr<Material>: (3.4.0 - 2022.3.2f1)
m_SpotCookie: PPtrPPtr<Texture2D>: (3.4.0 - 2022.3.2f1)
m_AmbientEquatorColor: Option<ColorRGBA>ColorRGBA: (5.0.0f4 - 2022.3.2f1)
m_AmbientGroundColor: Option<ColorRGBA>ColorRGBA: (5.0.0f4 - 2022.3.2f1)
m_AmbientIntensity: Option<f32>f32: (5.0.0f4 - 2022.3.2f1)
m_AmbientLight: Option<ColorRGBA>ColorRGBA: (3.4.0 - 4.7.2)
m_AmbientMode: Option<i32>i32: (5.0.0f4 - 2022.3.2f1)
m_AmbientProbe: Option<SphericalHarmonicsL2>SphericalHarmonicsL2: (5.0.0f4 - 2022.3.2f1)
m_AmbientProbeInGamma: Option<SphericalHarmonicsL2>SphericalHarmonicsL2: (5.0.0f4 - 5.2.5f1)
m_AmbientSkyColor: Option<ColorRGBA>ColorRGBA: (5.0.0f4 - 2022.3.2f1)
m_CustomReflection: Option<PPtr>§m_DefaultReflectionMode: Option<i32>i32: (5.0.0f4 - 2022.3.2f1)
m_DefaultReflectionResolution: Option<i32>i32: (5.0.0f4 - 2022.3.2f1)
m_FlareFadeSpeed: Option<f32>f32: (4.3.0 - 2022.3.2f1)
m_GeneratedSkyboxReflection: Option<PPtr>PPtr<Cubemap>: (5.0.0f4 - 2022.3.2f1)
m_IndirectSpecularColor: Option<ColorRGBA>ColorRGBA: (5.4.0f3 - 2022.3.2f1)
m_ReflectionBounces: Option<i32>i32: (5.0.0f4 - 2022.3.2f1)
m_ReflectionIntensity: Option<f32>f32: (5.0.0f4 - 2022.3.2f1)
m_SubtractiveShadowColor: Option<ColorRGBA>ColorRGBA: (5.6.0f1 - 2022.3.2f1)
m_Sun: Option<PPtr>PPtr<Light>: (5.0.0f4 - 2022.3.2f1)
m_UseRadianceAmbientProbe: Option<bool>bool: (2018.1.0b2 - 2022.3.2f1)