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

    Class BoxAndWhiskerPlot

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

    Constructors

    BoxAndWhiskerPlot(Draw2D, Units)

    Declaration
    public BoxAndWhiskerPlot(Draw2D draw2D, Units units)
    Parameters
    Type Name Description
    Draw2D draw2D
    Units units

    BoxAndWhiskerPlot(Draw2D, Units, Color)

    Declaration
    public BoxAndWhiskerPlot(Draw2D draw2D, Units units, Color colorBackground)
    Parameters
    Type Name Description
    Draw2D draw2D
    Units units
    Color colorBackground

    Methods

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

    Declaration
    public void Draw(Rect rect, float x, float y, float w, float h, float min, float lowerQuartile, float median, float upperQuartile, float max, float yAxisStart, float yAxisEnd, Color color, Color colorFilled, bool clearFirst = true)
    Parameters
    Type Name Description
    Rect rect
    System.Single x
    System.Single y
    System.Single w
    System.Single h
    System.Single min
    System.Single lowerQuartile
    System.Single median
    System.Single upperQuartile
    System.Single max
    System.Single yAxisStart
    System.Single yAxisEnd
    Color color
    Color colorFilled
    System.Boolean clearFirst

    Draw(Single, Single, Single, Single, Single, Single, Single, Single, Single, Color, Color)

    Declaration
    public void Draw(float width, float height, float min, float lowerQuartile, float median, float upperQuartile, float max, float yAxisStart, float yAxisEnd, Color color, Color colorFilled)
    Parameters
    Type Name Description
    System.Single width
    System.Single height
    System.Single min
    System.Single lowerQuartile
    System.Single median
    System.Single upperQuartile
    System.Single max
    System.Single yAxisStart
    System.Single yAxisEnd
    Color color
    Color colorFilled

    DrawHorizontal(Rect, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Color, Color, Boolean)

    Declaration
    public void DrawHorizontal(Rect rect, float x, float y, float w, float h, float min, float lowerQuartile, float median, float upperQuartile, float max, float xAxisStart, float xAxisEnd, Color color, Color colorFilled, bool clearFirst = true)
    Parameters
    Type Name Description
    Rect rect
    System.Single x
    System.Single y
    System.Single w
    System.Single h
    System.Single min
    System.Single lowerQuartile
    System.Single median
    System.Single upperQuartile
    System.Single max
    System.Single xAxisStart
    System.Single xAxisEnd
    Color color
    Color colorFilled
    System.Boolean clearFirst

    DrawHorizontal(Single, Single, Single, Single, Single, Single, Single, Single, Single, Color, Color, GUIStyle)

    Declaration
    public void DrawHorizontal(float width, float height, float min, float lowerQuartile, float median, float upperQuartile, float max, float xAxisStart, float xAxisEnd, Color color, Color colorFilled, GUIStyle style = null)
    Parameters
    Type Name Description
    System.Single width
    System.Single height
    System.Single min
    System.Single lowerQuartile
    System.Single median
    System.Single upperQuartile
    System.Single max
    System.Single xAxisStart
    System.Single xAxisEnd
    Color color
    Color colorFilled
    GUIStyle style

    DrawText(Single, Single, Single, Single, String, String)

    Declaration
    public void DrawText(float width, float plotHeight, float min, float max, string minTooltip, string maxTooltip)
    Parameters
    Type Name Description
    System.Single width
    System.Single plotHeight
    System.Single min
    System.Single max
    System.String minTooltip
    System.String maxTooltip

    SetUnits(Units)

    Declaration
    public void SetUnits(Units units)
    Parameters
    Type Name Description
    Units units
    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