docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDebugDisplaySettingsQuery

    Interface for determining what kind of debug settings are currently active.

    Namespace: UnityEngine.Rendering
    Syntax
    public interface IDebugDisplaySettingsQuery

    Properties

    AreAnySettingsActive

    Checks whether ANY of the debug settings are currently active.

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

    IsLightingActive

    Checks whether lighting is active for these settings.

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

    IsPostProcessingAllowed

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

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

    Methods

    TryGetScreenClearColor(ref Color)

    Attempts to get the color used to clear the screen for this debug setting.

    Declaration
    bool TryGetScreenClearColor(ref Color color)
    Parameters
    Type Name Description
    Color color

    A reference to the screen clear color to use.

    Returns
    Type Description
    Boolean

    "true" if we updated the color, "false" if we didn't change anything.

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023