docs.unity3d.com
    显示 / 隐藏目录

    Class DebugDisplaySettings

    Inheritance
    Object
    DebugDisplaySettings
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.Universal
    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
    Boolean
    Implements
    IDebugDisplaySettingsQuery.AreAnySettingsActive

    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
    Boolean
    Implements
    IDebugDisplaySettingsQuery.IsLightingActive

    IsPostProcessingAllowed

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

    Declaration
    public bool IsPostProcessingAllowed { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IDebugDisplaySettingsQuery.IsPostProcessingAllowed

    Methods

    TryGetScreenClearColor(ref Color)

    Declaration
    public bool TryGetScreenClearColor(ref Color color)
    Parameters
    Type Name Description
    Color color
    Returns
    Type Description
    Boolean
    Implements
    IDebugDisplaySettingsQuery.TryGetScreenClearColor(ref Color)
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)