docs.unity.cn
    Show / Hide Table of Contents

    Class DebugFrameTiming

    Debug frame timings class

    Inheritance
    Object
    DebugFrameTiming
    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 DebugFrameTiming

    Constructors

    DebugFrameTiming()

    Constructs the debug frame timing

    Declaration
    public DebugFrameTiming()

    Properties

    bottleneckHistorySize

    Size of the Bottleneck History Window in number of samples.

    Declaration
    public int bottleneckHistorySize { get; set; }
    Property Value
    Type Description
    Int32

    sampleHistorySize

    Size of the Sample History Window in number of samples.

    Declaration
    public int sampleHistorySize { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    RegisterDebugUI(List<DebugUI.Widget>)

    Add frame timing data widgets to debug UI.

    Declaration
    public void RegisterDebugUI(List<DebugUI.Widget> list)
    Parameters
    Type Name Description
    List<DebugUI.Widget> list

    List of widgets to add the stats.

    UpdateFrameTiming()

    Update timing data from profiling counters.

    Declaration
    public void UpdateFrameTiming()

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    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