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.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Unity.Multiplayer.Tools.NetStatsMonitor
    Assembly: solution.dll
    Syntax
    [Serializable]
    public sealed class CounterConfiguration

    Properties

    Name Description
    AggregationMethod

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

    ExponentialMovingAverageParams

    Parameters used if SmoothingMethod is set to ExponentialMovingAverage.

    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
    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
    SampleCount

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

    SignificantDigits

    The number of significant digits to display for this counter.

    SimpleMovingAverageParams

    Parameters used if SmoothingMethod is set to SimpleMovingAverage.

    SmoothingMethod

    The desired smoothing method over time for the counter.

    In This Article
    Back to top
    Copyright © 2023 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)