Class DebugDisplaySettings.DebugData
Debug data.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public class DebugDisplaySettings.DebugData
Fields
applyExposure
Whether to apply exposure to certain fullscreen debug outputs.
Declaration
public bool applyExposure
Field Value
Type | Description |
---|---|
bool |
averageProfilerTimingsOverASecond
Whether to display the average timings every second.
Declaration
public bool averageProfilerTimingsOverASecond
Field Value
Type | Description |
---|---|
bool |
colorPickerDebugSettings
Current color picker debug settings.
Declaration
public ColorPickerDebugSettings colorPickerDebugSettings
Field Value
Type | Description |
---|---|
ColorPickerDebugSettings |
computeThicknessLayerIndex
Thickness Layer Index from ComputeThicknessPass.
Declaration
public uint computeThicknessLayerIndex
Field Value
Type | Description |
---|---|
uint |
computeThicknessScale
Thickness Scale used for visualization.
Declaration
public float computeThicknessScale
Field Value
Type | Description |
---|---|
float |
computeThicknessShowOverlapCount
Thickness Overlap Count from ComputeThicknessPass.
Declaration
public bool computeThicknessShowOverlapCount
Field Value
Type | Description |
---|---|
bool |
countRays
Display ray tracing ray count per frame.
Declaration
[Obsolete("Obsolete, moved to HDDebugDisplayStats", false)]
public bool countRays
Field Value
Type | Description |
---|---|
bool |
debugCameraToFreeze
Index of the camera to freeze for visibility.
Declaration
public int debugCameraToFreeze
Field Value
Type | Description |
---|---|
int |
debugOverlayRatio
Ratio of the screen size in which overlays are rendered.
Declaration
public float debugOverlayRatio
Field Value
Type | Description |
---|---|
float |
decalsDebugSettings
Current decals debug settings.
Declaration
[Obsolete("decalsDebugSettings has been deprecated, please use HDDebugDisplaySettings.Instance.decalSettings instead", false)]
public DecalsDebugSettings decalsDebugSettings
Field Value
Type | Description |
---|---|
DecalsDebugSettings |
depthPyramidView
Enable to show checkerboard depths instead of closest depths (when applicable).
Declaration
public DepthPyramidDebugView depthPyramidView
Field Value
Type | Description |
---|---|
DepthPyramidDebugView |
enableDebugDepthRemap
Enable range remapping.
Declaration
public bool enableDebugDepthRemap
Field Value
Type | Description |
---|---|
bool |
falseColorDebugSettings
Current false color debug settings.
Declaration
public FalseColorDebugSettings falseColorDebugSettings
Field Value
Type | Description |
---|---|
FalseColorDebugSettings |
fullScreenContactShadowLightIndex
Index of the light used for contact shadows display.
Declaration
public int fullScreenContactShadowLightIndex
Field Value
Type | Description |
---|---|
int |
fullScreenDebugDepthRemap
Depth Range remapping values for some of the fullscreen mode. Only x and y are used.
Declaration
public Vector4 fullScreenDebugDepthRemap
Field Value
Type | Description |
---|---|
Vector4 |
fullScreenDebugMode
Current full screen debug mode.
Declaration
public FullScreenDebugMode fullScreenDebugMode
Field Value
Type | Description |
---|---|
FullScreenDebugMode |
fullscreenDebugMip
Current full screen debug mode mip level (when applicable).
Declaration
public float fullscreenDebugMip
Field Value
Type | Description |
---|---|
float |
historyBuffersView
Current history buffers view.
Declaration
public int historyBuffersView
Field Value
Type | Description |
---|---|
int |
lightingDebugSettings
Current lighting debug settings.
Declaration
public LightingDebugSettings lightingDebugSettings
Field Value
Type | Description |
---|---|
LightingDebugSettings |
lineRenderingDebugMode
The debug mode used for high quality line rendering.
Declaration
public LineRendering.DebugMode lineRenderingDebugMode
Field Value
Type | Description |
---|---|
LineRendering.DebugMode |
materialDebugSettings
Current material debug settings.
Declaration
public MaterialDebugSettings materialDebugSettings
Field Value
Type | Description |
---|---|
MaterialDebugSettings |
maxQuadCost
Max quad cost for quad overdraw display.
Declaration
public uint maxQuadCost
Field Value
Type | Description |
---|---|
uint |
maxVertexDensity
Max vertex density for vertex density display.
Declaration
public uint maxVertexDensity
Field Value
Type | Description |
---|---|
uint |
minMotionVectorLength
Minimum length a motion vector needs to be to be displayed in the debug display. Unit is pixels.
Declaration
public float minMotionVectorLength
Field Value
Type | Description |
---|---|
float |
mipMapDebugSettings
Current mip map debug settings.
Declaration
public MipMapDebugSettings mipMapDebugSettings
Field Value
Type | Description |
---|---|
MipMapDebugSettings |
monitorsDebugSettings
Current monitors debug settings.
Declaration
public MonitorsDebugSettings monitorsDebugSettings
Field Value
Type | Description |
---|---|
MonitorsDebugSettings |
motionVecIntensityHeat
Whether to visualize motion vector intensity as heat map or greyscale (if off).
Declaration
public bool motionVecIntensityHeat
Field Value
Type | Description |
---|---|
bool |
motionVecVisualizationScale
The scale to apply to motion vector lengths (in Normalized Device Coordinates) to be applied before display.
Declaration
public float motionVecVisualizationScale
Field Value
Type | Description |
---|---|
float |
screenSpaceShadowIndex
Index of screen space shadow to display.
Declaration
public uint screenSpaceShadowIndex
Field Value
Type | Description |
---|---|
uint |
showLensFlareDataDrivenOnly
Display Show Lens Flare Data Driven Only.
Declaration
public bool showLensFlareDataDrivenOnly
Field Value
Type | Description |
---|---|
bool |
transparencyDebugSettings
Current transparency debug settings.
Declaration
public TransparencyDebugSettings transparencyDebugSettings
Field Value
Type | Description |
---|---|
TransparencyDebugSettings |
volumeDebugSettings
Current volume debug settings.
Declaration
[Obsolete("Moved to HDDebugDisplaySettings.Instance. Will be removed soon.")]
public IVolumeDebugSettings volumeDebugSettings
Field Value
Type | Description |
---|---|
IVolumeDebugSettings |
xrSinglePassTestMode
XR single pass test mode.
Declaration
[Obsolete]
public bool xrSinglePassTestMode
Field Value
Type | Description |
---|---|
bool |
Methods
GetDebugGlobalMipBiasOverride()
Returns the current mip bias override specified in the debug panel.
Declaration
public float GetDebugGlobalMipBiasOverride()
Returns
Type | Description |
---|---|
float | Mip bias override |
SetDebugGlobalMipBiasOverride(float)
Sets the mip bias override to be imposed in the rendering pipeline.
Declaration
public void SetDebugGlobalMipBiasOverride(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value | mip bias override value. |