docs.unity.cn
    Show / Hide Table of Contents

    Class DebugDisplaySettingsStats<TProfileId>

    Display stats panel

    Inheritance
    Object
    DebugDisplaySettingsStats<TProfileId>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering
    Syntax
    public class DebugDisplaySettingsStats<TProfileId> : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery where TProfileId : Enum
    Type Parameters
    Name Description
    TProfileId

    Type of ProfileId the pipeline uses

    Constructors

    DebugDisplaySettingsStats(DebugDisplayStats<TProfileId>)

    Display stats panel constructor with settings

    Declaration
    public DebugDisplaySettingsStats(DebugDisplayStats<TProfileId> debugDisplayStats)
    Parameters
    Type Name Description
    DebugDisplayStats<TProfileId> debugDisplayStats

    Properties

    AreAnySettingsActive

    Checks whether ANY of the debug settings are currently active.

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

    debugDisplayStats

    Current display stats

    Declaration
    public DebugDisplayStats<TProfileId> debugDisplayStats { get; }
    Property Value
    Type Description
    DebugDisplayStats<TProfileId>

    Methods

    CreatePanel()

    Creates the debug UI panel needed for these debug settings.

    Declaration
    public IDebugDisplaySettingsPanelDisposable CreatePanel()
    Returns
    Type Description
    IDebugDisplaySettingsPanelDisposable

    The debug UI panel created.

    Implements
    IDebugDisplaySettingsData.CreatePanel()

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023