Modifier

Partager via


RuntimeLightingSettings Struct

Definition

A struct that mimics the lighting settings stored in a scene. Used to store, retrieve and interpolate lighting settings. Omits any editor-only settings.

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

Fields

AlbedoBoost
BounceScale
EnableBakedLightmaps
EnabledRealtimeLightmaps
EnvironmentLightingMode
IndirectOutputScale

Methods

Black(RuntimeLightingSettings)

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

Lerp(RuntimeLightingSettings, RuntimeLightingSettings, Single)

Lerps between two settings

Applies to