編輯

共用方式為


RuntimeRenderSettings Struct

Definition

A struct that mimics the render settings stored in a scene. Used to store, retrieve and interpolate render settings. Omits any editor-only settings, as well as some settings that are seldom used.

public value class RuntimeRenderSettings
[System.Serializable]
public struct RuntimeRenderSettings
[<System.Serializable>]
type RuntimeRenderSettings = struct
Public Structure RuntimeRenderSettings
Inheritance
RuntimeRenderSettings
Attributes

Fields

AmbientEquatorColor
AmbientGroundColor
AmbientIntensity
AmbientLight
AmbientMode
AmbientSkyColor
CustomReflection
DefaultReflectionMode
DefaultReflectionResolution
Fog
FogColor
FogDensity
FogMode
LinearFogEnd
LinearFogStart
ReflectionBounces
ReflectionIntensity
SkyboxMaterial
SubtractiveShadowColor
UseRadianceAmbientProbe

Methods

Black(RuntimeRenderSettings)

Sets continuous settings to 'black' without changing any discrete features.

Lerp(RuntimeRenderSettings, RuntimeRenderSettings, Single)

Lerps between two settings

Applies to