Struct FrameTime | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct FrameTime

    Namespace: UnityEditor.Performance.ProfileAnalyzer
    Syntax
    public struct FrameTime : IComparable<FrameTime>

    Constructors

    FrameTime(Int32, Single, Int32)

    Declaration
    public FrameTime(int index, float msTime, int _count)
    Parameters
    Type Name Description
    System.Int32 index
    System.Single msTime
    System.Int32 _count

    FrameTime(FrameTime)

    Declaration
    public FrameTime(FrameTime t)
    Parameters
    Type Name Description
    FrameTime t

    Fields

    count

    Declaration
    public int count
    Field Value
    Type Description
    System.Int32

    frameIndex

    Declaration
    public int frameIndex
    Field Value
    Type Description
    System.Int32

    ms

    Declaration
    public float ms
    Field Value
    Type Description
    System.Single

    Methods

    CompareCount(FrameTime, FrameTime)

    Declaration
    public static int CompareCount(FrameTime a, FrameTime b)
    Parameters
    Type Name Description
    FrameTime a
    FrameTime b
    Returns
    Type Description
    System.Int32

    CompareMs(FrameTime, FrameTime)

    Declaration
    public static int CompareMs(FrameTime a, FrameTime b)
    Parameters
    Type Name Description
    FrameTime a
    FrameTime b
    Returns
    Type Description
    System.Int32

    CompareTo(FrameTime)

    Declaration
    public int CompareTo(FrameTime other)
    Parameters
    Type Name Description
    FrameTime other
    Returns
    Type Description
    System.Int32
    Back to top
    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