Class TopMarkers | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class TopMarkers

    Inheritance
    System.Object
    TopMarkers
    Namespace: UnityEditor.Performance.ProfileAnalyzer
    Syntax
    public class TopMarkers

    Constructors

    TopMarkers(ProfileAnalyzerWindow, Draw2D, Color, Color)

    Declaration
    public TopMarkers(ProfileAnalyzerWindow profileAnalyzerWindow, Draw2D draw2D, Color backgroundColor, Color textColor)
    Parameters
    Type Name Description
    ProfileAnalyzerWindow profileAnalyzerWindow
    Draw2D draw2D
    Color backgroundColor
    Color textColor

    Methods

    Draw(ProfileAnalysis, Rect, Color, Int32, Single, Int32, Color, Color, Color, Boolean, Boolean)

    Declaration
    public void Draw(ProfileAnalysis analysis, Rect rect, Color barColor, int barCount, float timeRange, int depthFilter, Color selectedBackground, Color selectedBorder, Color selectedText, bool includeOthers, bool includeUnaccounted)
    Parameters
    Type Name Description
    ProfileAnalysis analysis
    Rect rect
    Color barColor
    System.Int32 barCount
    System.Single timeRange
    System.Int32 depthFilter
    Color selectedBackground
    Color selectedBorder
    Color selectedText
    System.Boolean includeOthers
    System.Boolean includeUnaccounted

    GetTopMarkerTimeRange(ProfileAnalysis, Int32, Int32)

    Declaration
    public float GetTopMarkerTimeRange(ProfileAnalysis analysis, int count, int depthFilter)
    Parameters
    Type Name Description
    ProfileAnalysis analysis
    System.Int32 count
    System.Int32 depthFilter
    Returns
    Type Description
    System.Single
    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