docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct AsyncMetric

    Handle to a metric whose values may be reported in a subsequent frame.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    public struct AsyncMetric

    Fields

    Name Description
    MetricDefinition

    The MetricDefinition associated with this AsyncMetric.

    Properties

    Name Description
    IsNil

    Returns true if the AsyncMetric is its default value.

    IsPending

    True if ReportValues has not been called yet.

    IsValid

    True if the simulation is still running.

    Methods

    Name Description
    ReportValues(string)

    Report the values for this AsyncMetric. Calling this method will transition IsPending to false. ReportValues may only be called once per AsyncMetric.

    ReportValues<T>(T[])

    Report the values for this AsyncMetric. Calling this method will transition IsPending to false. ReportValues may only be called once per AsyncMetric.

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