docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugDisplaySettings

    Inheritance
    object
    DebugDisplaySettings
    Implements
    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.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public class DebugDisplaySettings : IDebugDisplaySettingsQuery

    Properties

    AreAnySettingsActive

    Returns true if any of the debug settings are currently active.

    Declaration
    public bool AreAnySettingsActive { get; }
    Property Value
    Type Description
    bool

    Instance

    The singleton instance that contains the current settings of URP Rendering Debugger.

    Declaration
    public static DebugDisplaySettings Instance { get; }
    Property Value
    Type Description
    DebugDisplaySettings

    IsLightingActive

    Returns true if lighting is active for current state of debug settings.

    Declaration
    public bool IsLightingActive { get; }
    Property Value
    Type Description
    bool

    IsPostProcessingAllowed

    Returns true if the current state of debug settings allows post-processing.

    Declaration
    public bool IsPostProcessingAllowed { get; }
    Property Value
    Type Description
    bool

    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.

    Implements

    IDebugDisplaySettingsQuery
    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)