docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CounterConfiguration

    Counter configuration used by DisplayElementConfiguration. This configuration contain all information about a counter.

    Inheritance
    object
    CounterConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Multiplayer.Tools.NetStatsMonitor
    Assembly: Unity.Multiplayer.Tools.NetStatsMonitor.Configuration.dll
    Syntax
    [Serializable]
    public sealed class CounterConfiguration

    Properties

    AggregationMethod

    The desired aggregation method for the stats used in the counter.

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

    ExponentialMovingAverageParams

    Parameters used if SmoothingMethod is set to ExponentialMovingAverage.

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

    HighlightLowerBound

    Values below this threshold will be highlighted by the default styling, and can be highlighted by custom styling using the following USS classes:

    • rnsm-counter-out-of-bounds
    • rnsm-counter-below-threshold
    Declaration
    public float HighlightLowerBound { get; set; }
    Property Value
    Type Description
    float

    HighlightUpperBound

    Values above this threshold will be highlighted by the default styling, and can be highlighted by custom styling using the following USS classes:

    • rnsm-counter-out-of-bounds
    • rnsm-counter-above-threshold
    Declaration
    public float HighlightUpperBound { get; set; }
    Property Value
    Type Description
    float

    SampleCount

    The current configured sample count. Note that if the SmoothingMethod is set to ExponentialMovingAverage, the sample count will be zero.

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

    SignificantDigits

    The number of significant digits to display for this counter.

    Declaration
    public int SignificantDigits { get; set; }
    Property Value
    Type Description
    int

    SimpleMovingAverageParams

    Parameters used if SmoothingMethod is set to SimpleMovingAverage.

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

    SmoothingMethod

    The desired smoothing method over time for the counter.

    Declaration
    public SmoothingMethod SmoothingMethod { get; set; }
    Property Value
    Type Description
    SmoothingMethod
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)