Struct AsyncMetric
Handle to a metric whose values may be reported in a subsequent frame.
Inherited Members
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. |