Class DebugDisplaySettingsLighting
Lighting-related Rendering Debugger settings.
Implements
IDebugDisplaySettingsData
IDebugDisplaySettingsQuery
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class DebugDisplaySettingsLighting : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery
Properties
AreAnySettingsActive
Checks whether ANY of the debug settings are currently active.
Declaration
public bool AreAnySettingsActive { get; }
Property Value
Type | Description |
---|---|
bool |
IsLightingActive
Checks whether lighting is active for these settings.
Declaration
public bool IsLightingActive { get; }
Property Value
Type | Description |
---|---|
bool |
IsPostProcessingAllowed
Checks whether the current state of these settings allows post-processing.
Declaration
public bool IsPostProcessingAllowed { get; }
Property Value
Type | Description |
---|---|
bool |
hdrDebugMode
Current HDR debug mode.
Declaration
public HDRDebugMode hdrDebugMode { get; set; }
Property Value
Type | Description |
---|---|
HDRDebugMode |
lightingDebugMode
Current debug lighting mode.
Declaration
public DebugLightingMode lightingDebugMode { get; set; }
Property Value
Type | Description |
---|---|
DebugLightingMode |
lightingFeatureFlags
Current debug lighting feature flags mask that allows selective disabling individual lighting components.
Declaration
public DebugLightingFeatureFlags lightingFeatureFlags { get; set; }
Property Value
Type | Description |
---|---|
DebugLightingFeatureFlags |
Methods
TryGetScreenClearColor(ref Color)
Attempts to get the color used to clear the screen for this debug setting.
Declaration
public bool TryGetScreenClearColor(ref Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | A reference to the screen clear color to use. |
Returns
Type | Description |
---|---|
bool | "true" if we updated the color, "false" if we didn't change anything. |
Implements
UnityEngine.Rendering.IDebugDisplaySettingsData
UnityEngine.Rendering.IDebugDisplaySettingsQuery