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

    Class Histogram

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

    Constructors

    Histogram(Draw2D, Units)

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

    Histogram(Draw2D, Units, Color)

    Declaration
    public Histogram(Draw2D draw2D, Units units, Color barBackground)
    Parameters
    Type Name Description
    Draw2D draw2D
    Units units
    Color barBackground

    Methods

    Draw(Single, Single, Int32[], Int32, Single, Single, Color)

    Declaration
    public void Draw(float width, float height, int[] buckets, int totalFrameCount, float min, float max, Color barColor)
    Parameters
    Type Name Description
    System.Single width
    System.Single height
    System.Int32[] buckets
    System.Int32 totalFrameCount
    System.Single min
    System.Single max
    Color barColor

    DrawBackground(Single, Single, Int32, Single)

    Declaration
    public void DrawBackground(float width, float height, int bucketCount, float spacing)
    Parameters
    Type Name Description
    System.Single width
    System.Single height
    System.Int32 bucketCount
    System.Single spacing

    DrawData(Single, Single, Int32[], Int32, Single, Single, Color, Single)

    Declaration
    public void DrawData(float width, float height, int[] buckets, int totalFrameCount, float min, float max, Color barColor, float spacing)
    Parameters
    Type Name Description
    System.Single width
    System.Single height
    System.Int32[] buckets
    System.Int32 totalFrameCount
    System.Single min
    System.Single max
    Color barColor
    System.Single spacing

    DrawEnd(Single, Single, Single, Single)

    Declaration
    public void DrawEnd(float width, float min, float max, float spacing)
    Parameters
    Type Name Description
    System.Single width
    System.Single min
    System.Single max
    System.Single spacing

    DrawStart(Single)

    Declaration
    public void DrawStart(float width)
    Parameters
    Type Name Description
    System.Single width

    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