Class LightingDebugSettings
Lighting Debug Settings.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
public class LightingDebugSettings
필드
| 이름 | 설명 |
|---|---|
| centerHistogramAroundMiddleGrey | Whether to center the histogram debug view around the middle-grey point or not. |
| clearCookieAtlas | Clear cookie atlas each frame. |
| clearPlanarReflectionProbeAtlas | Clear planar reflection atlas each frame. |
| clearShadowAtlas | Clear shadow atlases each frame. |
| clusterDebugDistance | Distance at which clusters will be visualized. |
| clusterDebugMode | Cluster Debug mode. |
| cookieAtlasMipLevel | Mip level of the cookie cubemap display. |
| cubeArraySliceIndex | Index of the light cubemap to display. |
| debugExposure | Exposure compensation to apply on current scene exposure. |
| debugLensAttenuation | Obsolete, please use the lens attenuation mode in HDRP Default Settings. |
| debugLightFilterMode | Current Light Filtering. |
| debugLightLayers | True if light layers visualization is enabled. |
| debugLightLayersFilterMask | Current Light Layers Filtering mode. |
| debugLightingMode | Current Full Screen Lighting debug mode. |
| debugRenderingLayersColors | Rendering Layers Debug Colors. |
| debugSelectionLightLayers | True if light layers visualization uses light layers of the selected light. |
| debugSelectionShadowLayers | True if light layers visualization uses shadow layers of the selected light. |
| displayCookieAtlas | Display the light cookies atlas. |
| displayCookieCubeArray | Display the light cookies cubemap array. |
| displayFinalImageHistogramAsRGB | Whether to show tonemap curve in the histogram debug view or not. |
| displayLightVolumes | Display lights bounding volumes as a transparent overlay in the scene. |
| displayMaskOnly | Whether to show the only the mask in the picture in picture. If unchecked, the mask view is weighted by the scene color. |
| displayPlanarReflectionProbeAtlas | Display the planar reflection atlas. |
| displaySkyReflection | Display sky reflection cubemap as an overlay. |
| exposureDebugMode | Exposure debug mode. |
| lightVolumeDebugByCategory | Type of light bounding volumes to display. |
| maxDebugLightCount | Maximum number of lights against which the light overdraw gradient is displayed. |
| overrideAlbedo | Override albedo of the whole scene for lighting debug. |
| overrideAlbedoValue | Color used when overriding albedo. |
| overrideAmbientOcclusion | Override ambient occlusion of the whole scene for lighting debug. |
| overrideAmbientOcclusionValue | Value used when overriding ambient occlusion. |
| overrideEmissiveColor | Override emissive color of the whole scene for lighting debug. |
| overrideEmissiveColorValue | Color used when overriding emissive color. |
| overrideNormal | Override normal of the whole scene with object normals for lighting debug. |
| overrideSmoothness | Override smoothness of the whole scene for lighting debug. |
| overrideSmoothnessValue | Value used when overriding smoothness. |
| overrideSpecularColor | Override specular color of the whole scene for lighting debug. |
| overrideSpecularColorValue | Color used when overriding specular color. |
| planarReflectionProbeMipLevel | Mip level of the planar reflection atlas display. |
| shadowDebugMode | Current Shadow Maps debug mode. |
| shadowDebugUseSelection | True if Shadow Map debug mode should be displayed for the currently selected light. |
| shadowMapIndex | Index in the list of currently visible lights of the shadow map to display. |
| shadowMaxValue | Shadow Map debug display visual remapping maximum value. |
| shadowMinValue | Shadow Map debug display visual remapping minimum value. |
| shadowResolutionScaleFactor | Use this value to force a rescale of all shadow atlases. |
| showAreaLight | True if area lights should be displayed in the scene. |
| showDirectionalLight | True if directional lights should be displayed in the scene. |
| showPunctualLight | True if punctual lights should be displayed in the scene. |
| showReflectionProbe | True if reflection probes lights should be displayed in the scene. |
| showTonemapCurveAlongHistogramView | Whether to show tonemap curve in the histogram debug view or not. |
| skyReflectionMipmap | Mip map of the displayed sky reflection. |
| tileClusterDebug | Tile and Cluster debug mode. |
| tileClusterDebugByCategory | Category for tile and cluster debug mode. |
메서드
| 이름 | 설명 |
|---|---|
| IsDebugDisplayEnabled() | Returns true if any lighting debug mode is enabled. |