Class DebugDisplaySettingsMaterial
Material-related Rendering Debugger settings.
Implements
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class DebugDisplaySettingsMaterial : 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 |
albedoCompareColor
Current target color value for albedo validation.
Declaration
public Color albedoCompareColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
albedoHueTolerance
Current hue tolerance value for albedo validation.
Declaration
public float albedoHueTolerance { get; set; }
Property Value
Type | Description |
---|---|
float |
albedoMaxLuminance
Current maximum luminance threshold value for albedo validation. Any albedo luminance values above this value will be considered invalid and will appear blue on screen.
Declaration
public float albedoMaxLuminance { get; set; }
Property Value
Type | Description |
---|---|
float |
albedoMinLuminance
Current minimum luminance threshold value for albedo validation. Any albedo luminance values below this value will be considered invalid and will appear red on screen.
Declaration
public float albedoMinLuminance { get; set; }
Property Value
Type | Description |
---|---|
float |
albedoSaturationTolerance
Current saturation tolerance value for albedo validation.
Declaration
public float albedoSaturationTolerance { get; set; }
Property Value
Type | Description |
---|---|
float |
albedoValidationPreset
Current albedo debug validation preset.
Declaration
public DebugDisplaySettingsMaterial.AlbedoDebugValidationPreset albedoValidationPreset { get; set; }
Property Value
Type | Description |
---|---|
DebugDisplaySettingsMaterial.AlbedoDebugValidationPreset |
materialDebugMode
Current debug material mode.
Declaration
public DebugMaterialMode materialDebugMode { get; set; }
Property Value
Type | Description |
---|---|
DebugMaterialMode |
materialValidationMode
Current material validation mode.
Declaration
public DebugMaterialValidationMode materialValidationMode { get; set; }
Property Value
Type | Description |
---|---|
DebugMaterialValidationMode |
metallicMaxValue
Current maximum threshold value for metallic validation. Any metallic values above this value will be considered invalid and will appear blue on screen.
Declaration
public float metallicMaxValue { get; set; }
Property Value
Type | Description |
---|---|
float |
metallicMinValue
Current minimum threshold value for metallic validation. Any metallic values below this value will be considered invalid and will appear red on screen.
Declaration
public float metallicMinValue { get; set; }
Property Value
Type | Description |
---|---|
float |
vertexAttributeDebugMode
Current debug vertex attribute mode.
Declaration
public DebugVertexAttributeMode vertexAttributeDebugMode { get; set; }
Property Value
Type | Description |
---|---|
DebugVertexAttributeMode |
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. |