Class LightingDebugSettings
Lighting Debug Settings.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public class LightingDebugSettings
Fields
clearCookieAtlas
Clear cookie atlas each frame.
Declaration
public bool clearCookieAtlas
Field Value
| Type | Description | 
|---|---|
| Boolean | 
clearPlanarReflectionProbeAtlas
Clear planar reflection atlas each frame.
Declaration
public bool clearPlanarReflectionProbeAtlas
Field Value
| Type | Description | 
|---|---|
| Boolean | 
clearShadowAtlas
Clear shadow atlases each frame.
Declaration
public bool clearShadowAtlas
Field Value
| Type | Description | 
|---|---|
| Boolean | 
cookieAtlasMipLevel
Mip level of the cookie cubemap display.
Declaration
public uint cookieAtlasMipLevel
Field Value
| Type | Description | 
|---|---|
| UInt32 | 
cookieCubeArraySliceIndex
Index of the light cookie cubemap to display.
Declaration
public uint cookieCubeArraySliceIndex
Field Value
| Type | Description | 
|---|---|
| UInt32 | 
debugExposure
Exposure used for lighting debug modes.
Declaration
public float debugExposure
Field Value
| Type | Description | 
|---|---|
| Single | 
debugLightFilterMode
Current Light Filtering.
Declaration
public DebugLightFilterMode debugLightFilterMode
Field Value
| Type | Description | 
|---|---|
| DebugLightFilterMode | 
debugLightingMode
Current Full Screen Lighting debug mode.
Declaration
public DebugLightingMode debugLightingMode
Field Value
| Type | Description | 
|---|---|
| DebugLightingMode | 
displayCookieAtlas
Display the light cookies atlas.
Declaration
public bool displayCookieAtlas
Field Value
| Type | Description | 
|---|---|
| Boolean | 
displayCookieCubeArray
Display the light cookies cubemap array.
Declaration
public bool displayCookieCubeArray
Field Value
| Type | Description | 
|---|---|
| Boolean | 
displayLightVolumes
Display lights bounding volumes as a transparent overlay in the scene.
Declaration
public bool displayLightVolumes
Field Value
| Type | Description | 
|---|---|
| Boolean | 
displayPlanarReflectionProbeAtlas
Display the planar reflection atlas.
Declaration
public bool displayPlanarReflectionProbeAtlas
Field Value
| Type | Description | 
|---|---|
| Boolean | 
displaySkyReflection
Display sky reflection cubemap as an overlay.
Declaration
public bool displaySkyReflection
Field Value
| Type | Description | 
|---|---|
| Boolean | 
lightVolumeDebugByCategory
Type of light bounding volumes to display.
Declaration
public LightVolumeDebug lightVolumeDebugByCategory
Field Value
| Type | Description | 
|---|---|
| LightVolumeDebug | 
maxDebugLightCount
Maximum number of lights against which the light overdraw gradient is displayed.
Declaration
public uint maxDebugLightCount
Field Value
| Type | Description | 
|---|---|
| UInt32 | 
overrideAlbedo
Override albedo of the whole scene for lighting debug.
Declaration
public bool overrideAlbedo
Field Value
| Type | Description | 
|---|---|
| Boolean | 
overrideAlbedoValue
Color used when overriding albedo.
Declaration
public Color overrideAlbedoValue
Field Value
| Type | Description | 
|---|---|
| Color | 
overrideAmbientOcclusion
Override ambient occlusion of the whole scene for lighting debug.
Declaration
public bool overrideAmbientOcclusion
Field Value
| Type | Description | 
|---|---|
| Boolean | 
overrideAmbientOcclusionValue
Value used when overriding ambient occlusion.
Declaration
public float overrideAmbientOcclusionValue
Field Value
| Type | Description | 
|---|---|
| Single | 
overrideEmissiveColor
Override emissive color of the whole scene for lighting debug.
Declaration
public bool overrideEmissiveColor
Field Value
| Type | Description | 
|---|---|
| Boolean | 
overrideEmissiveColorValue
Color used when overriding emissive color.
Declaration
public Color overrideEmissiveColorValue
Field Value
| Type | Description | 
|---|---|
| Color | 
overrideNormal
Override normal of the whole scene with object normals for lighting debug.
Declaration
public bool overrideNormal
Field Value
| Type | Description | 
|---|---|
| Boolean | 
overrideSmoothness
Override smoothness of the whole scene for lighting debug.
Declaration
public bool overrideSmoothness
Field Value
| Type | Description | 
|---|---|
| Boolean | 
overrideSmoothnessValue
Value used when overriding smoothness.
Declaration
public float overrideSmoothnessValue
Field Value
| Type | Description | 
|---|---|
| Single | 
overrideSpecularColor
Override specular color of the whole scene for lighting debug.
Declaration
public bool overrideSpecularColor
Field Value
| Type | Description | 
|---|---|
| Boolean | 
overrideSpecularColorValue
Color used when overriding specular color.
Declaration
public Color overrideSpecularColorValue
Field Value
| Type | Description | 
|---|---|
| Color | 
planarReflectionProbeMipLevel
Mip level of the planar reflection atlas display.
Declaration
public uint planarReflectionProbeMipLevel
Field Value
| Type | Description | 
|---|---|
| UInt32 | 
shadowDebugMode
Current Shadow Maps debug mode.
Declaration
public ShadowMapDebugMode shadowDebugMode
Field Value
| Type | Description | 
|---|---|
| ShadowMapDebugMode | 
shadowDebugUseSelection
True if Shadow Map debug mode should be displayed for the currently selected light.
Declaration
public bool shadowDebugUseSelection
Field Value
| Type | Description | 
|---|---|
| Boolean | 
shadowMapIndex
Index in the list of currently visible lights of the shadow map to display.
Declaration
public uint shadowMapIndex
Field Value
| Type | Description | 
|---|---|
| UInt32 | 
shadowMaxValue
Shadow Map debug display visual remapping maximum value.
Declaration
public float shadowMaxValue
Field Value
| Type | Description | 
|---|---|
| Single | 
shadowMinValue
Shadow Map debug display visual remapping minimum value.
Declaration
public float shadowMinValue
Field Value
| Type | Description | 
|---|---|
| Single | 
shadowResolutionScaleFactor
Use this value to force a rescale of all shadow atlases.
Declaration
public float shadowResolutionScaleFactor
Field Value
| Type | Description | 
|---|---|
| Single | 
showAreaLight
True if area lights should be displayed in the scene.
Declaration
public bool showAreaLight
Field Value
| Type | Description | 
|---|---|
| Boolean | 
showDirectionalLight
True if directional lights should be displayed in the scene.
Declaration
public bool showDirectionalLight
Field Value
| Type | Description | 
|---|---|
| Boolean | 
showPunctualLight
True if punctual lights should be displayed in the scene.
Declaration
public bool showPunctualLight
Field Value
| Type | Description | 
|---|---|
| Boolean | 
showReflectionProbe
True if reflection probes lights should be displayed in the scene.
Declaration
public bool showReflectionProbe
Field Value
| Type | Description | 
|---|---|
| Boolean | 
skyReflectionMipmap
Mip map of the displayed sky reflection.
Declaration
public float skyReflectionMipmap
Field Value
| Type | Description | 
|---|---|
| Single | 
tileClusterDebug
Tile and Cluster debug mode.
Declaration
public TileClusterDebug tileClusterDebug
Field Value
| Type | Description | 
|---|---|
| TileClusterDebug | 
tileClusterDebugByCategory
Category for tile and cluster debug mode.
Declaration
public TileClusterCategoryDebug tileClusterDebugByCategory
Field Value
| Type | Description | 
|---|---|
| TileClusterCategoryDebug | 
Methods
IsDebugDisplayEnabled()
Returns true if any lighting debug mode is enabled.
Declaration
public bool IsDebugDisplayEnabled()
Returns
| Type | Description | 
|---|---|
| Boolean | True if any lighting debug mode is enabled  |