Class DebugDisplaySettings.DebugData
Debug data.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public class DebugData
Fields
averageProfilerTimingsOverASecond
Whether to display the average timings every second.
Declaration
public bool averageProfilerTimingsOverASecond
Field Value
Type | Description |
---|---|
Boolean |
colorPickerDebugSettings
Current color picker debug settings.
Declaration
public ColorPickerDebugSettings colorPickerDebugSettings
Field Value
Type | Description |
---|---|
ColorPickerDebugSettings |
countRays
Display ray tracing ray count per frame.
Declaration
public bool countRays
Field Value
Type | Description |
---|---|
Boolean |
debugCameraToFreeze
Index of the camera to freeze for visibility.
Declaration
public int debugCameraToFreeze
Field Value
Type | Description |
---|---|
Int32 |
debugOverlayRatio
Ratio of the screen size in which overlays are rendered.
Declaration
public float debugOverlayRatio
Field Value
Type | Description |
---|---|
Single |
decalsDebugSettings
Current decals debug settings.
Declaration
public DecalsDebugSettings decalsDebugSettings
Field Value
Type | Description |
---|---|
DecalsDebugSettings |
enableDebugDepthRemap
Enable range remapping.
Declaration
public bool enableDebugDepthRemap
Field Value
Type | Description |
---|---|
Boolean |
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 |
---|---|
Int32 |
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 |
fullscreenDebugMip
Current full screen debug mode mip level (when applicable).
Declaration
public float fullscreenDebugMip
Field Value
Type | Description |
---|---|
Single |
fullScreenDebugMode
Current full screen debug mode.
Declaration
public FullScreenDebugMode fullScreenDebugMode
Field Value
Type | Description |
---|---|
FullScreenDebugMode |
lightingDebugSettings
Current lighting debug settings.
Declaration
public LightingDebugSettings lightingDebugSettings
Field Value
Type | Description |
---|---|
LightingDebugSettings |
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 |
---|---|
UInt32 |
maxVertexDensity
Max vertex density for vertex density display.
Declaration
public uint maxVertexDensity
Field Value
Type | Description |
---|---|
UInt32 |
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 |
---|---|
Single |
mipMapDebugSettings
Current mip map debug settings.
Declaration
public MipMapDebugSettings mipMapDebugSettings
Field Value
Type | Description |
---|---|
MipMapDebugSettings |
screenSpaceShadowIndex
Index of screen space shadow to display.
Declaration
public uint screenSpaceShadowIndex
Field Value
Type | Description |
---|---|
UInt32 |
showLensFlareDataDrivenOnly
Display Show Lens Flare Data Driven Only.
Declaration
public bool showLensFlareDataDrivenOnly
Field Value
Type | Description |
---|---|
Boolean |
transparencyDebugSettings
Current transparency debug settings.
Declaration
public TransparencyDebugSettings transparencyDebugSettings
Field Value
Type | Description |
---|---|
TransparencyDebugSettings |
volumeDebugSettings
Current volume debug settings.
Declaration
public VolumeDebugSettings volumeDebugSettings
Field Value
Type | Description |
---|---|
VolumeDebugSettings |
xrSinglePassTestMode
XR single pass test mode.
Declaration
public bool xrSinglePassTestMode
Field Value
Type | Description |
---|---|
Boolean |
Methods
GetDebugGlobalMipBiasOverride()
Returns the current mip bias override specified in the debug panel.
Declaration
public float GetDebugGlobalMipBiasOverride()
Returns
Type | Description |
---|---|
Single | Mip bias override |
SetDebugGlobalMipBiasOverride(Single)
Sets the mip bias override to be imposed in the rendering pipeline.
Declaration
public void SetDebugGlobalMipBiasOverride(float value)
Parameters
Type | Name | Description |
---|---|---|
Single | value | mip bias override value. |