docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugDisplaySettingsVolume

    Debug Dispaly Settings Volume

    Inheritance
    object
    DebugDisplaySettingsVolume
    Implements
    IDebugDisplaySettingsData
    IDebugDisplaySettingsQuery
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class DebugDisplaySettingsVolume : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery

    Constructors

    DebugDisplaySettingsVolume(IVolumeDebugSettings2)

    Constructor with the settings

    Declaration
    public DebugDisplaySettingsVolume(IVolumeDebugSettings2 volumeDebugSettings)
    Parameters
    Type Name Description
    IVolumeDebugSettings2 volumeDebugSettings

    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

    volumeDebugSettings

    Current volume debug settings.

    Declaration
    public IVolumeDebugSettings2 volumeDebugSettings { get; }
    Property Value
    Type Description
    IVolumeDebugSettings2

    Methods

    CreatePanel()

    Creates the panel

    Declaration
    public IDebugDisplaySettingsPanelDisposable CreatePanel()
    Returns
    Type Description
    IDebugDisplaySettingsPanelDisposable

    The panel

    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

    IDebugDisplaySettingsData
    IDebugDisplaySettingsQuery

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)