docs.unity3d.com
    Show / Hide Table of Contents

    Class GraphConfiguration

    Graph configuration used by DisplayElementConfiguration. This configuration contain all information about a Graph.

    Inheritance
    Object
    GraphConfiguration
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Multiplayer.Tools.NetStatsMonitor
    Syntax
    [Serializable]
    public sealed class GraphConfiguration

    Properties

    LineGraphConfiguration

    Line-graph specific options.

    Declaration
    public LineGraphConfiguration LineGraphConfiguration { get; set; }
    Property Value
    Type Description
    LineGraphConfiguration

    SampleCount

    The number of samples that are maintained for the purpose of graphing.

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

    The value is clamped to the range [8, 4096].

    SampleRate

    The sample rate of the graph.

    Declaration
    [Tooltip("The sample rate of the graph. If the sample rate is Per Second then each point in the graph corresponds to data collected over a full second, whereas if the sample rate is Per Frame then each point in the graph corresponds to data collected within a single frame.")]
    public SampleRate SampleRate { get; set; }
    Property Value
    Type Description
    SampleRate
    Remarks

    If the sample rate is PerSecond then each point in the graph corresponds to data collected over a full second, whereas if the sample rate is PerFrame then each point in the graph corresponds to data collected within a single frame.

    VariableColors

    List of colors to override the default colors of the graph.

    Declaration
    public List<Color> VariableColors { get; set; }
    Property Value
    Type Description
    List<Color>

    XAxisType

    The units used for displaying the bounds of the graph's x-axis. By default the graph bounds are displayed in units of sample count. If set to time, the the x-axis graph bounds will display the time over which these samples were collected.

    Declaration
    public GraphXAxisType XAxisType { get; set; }
    Property Value
    Type Description
    GraphXAxisType
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023