Class DebugDisplaySettingsVolume
Debug Dispaly Settings Volume
Namespace: UnityEngine.Rendering
Syntax
public class DebugDisplaySettingsVolume : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery
Constructors
DebugDisplaySettingsVolume(IVolumeDebugSettings)
Constructor with the settings
Declaration
public DebugDisplaySettingsVolume(IVolumeDebugSettings volumeDebugSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| IVolumeDebugSettings | volumeDebugSettings |
Properties
AreAnySettingsActive
If are any settings active
Declaration
public bool AreAnySettingsActive { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Implements
IsLightingActive
If lighting is active
Declaration
public bool IsLightingActive { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Implements
IsPostProcessingAllowed
If post processing is allowed
Declaration
public bool IsPostProcessingAllowed { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Implements
volumeDebugSettings
Current volume debug settings.
Declaration
public IVolumeDebugSettings volumeDebugSettings { get; }
Property Value
| Type | Description |
|---|---|
| IVolumeDebugSettings |
Methods
CreatePanel()
Creates the panel
Declaration
public IDebugDisplaySettingsPanelDisposable CreatePanel()
Returns
| Type | Description |
|---|---|
| IDebugDisplaySettingsPanelDisposable | The panel tha is created |
Implements
TryGetScreenClearColor(ref Color)
Returns if the clear color can be returned
Declaration
public bool TryGetScreenClearColor(ref Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | [In/out]The color |
Returns
| Type | Description |
|---|---|
| Boolean | True if the screen clear color can be returned |