docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugDisplaySettings<T>

    Templated class for IDebugDisplaySettings

    Inheritance
    object
    DebugDisplaySettings<T>
    Implements
    IDebugDisplaySettings
    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 abstract class DebugDisplaySettings<T> : IDebugDisplaySettings where T : IDebugDisplaySettings, new()
    Type Parameters
    Name Description
    T

    Fields

    Name Description
    m_Settings

    The set of IDebugDisplaySettingsData containing the settings for this debug display

    Properties

    Name Description
    AreAnySettingsActive

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

    Instance

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

    IsLightingActive

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

    IsPostProcessingAllowed

    Checks whether the current state of these settings allows post-processing.

    Methods

    Name Description
    Add<TData>(TData)

    Adds a new TData to this settings

    ForEach(Action<IDebugDisplaySettingsData>)

    Executes an action for each element

    Reset()

    Reset the stored debug settings

    TryGetScreenClearColor(ref Color)

    Attempts to get the color that should be used to clear the screen according to current debug settings.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)