Struct OcclusionMetricEntry
Occlusion Metric entry struct
Implements
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[MovedFrom("UnityEngine.Perception.GroundTruth")]
public struct OcclusionMetricEntry : IMessageProducer
Fields
instanceID
The unique instance id of the visible object
Declaration
public uint instanceID
Field Value
Type | Description |
---|---|
uint |
percentInFrame
The proportion of the object that is not occluded by the camera frame.
Declaration
public float percentInFrame
Field Value
Type | Description |
---|---|
float |
percentVisible
The proportion of the object that is visible in the image
Declaration
public float percentVisible
Field Value
Type | Description |
---|---|
float |
visibilityInFrame
The unoccluded portion of the part of an object that is in frame.
Declaration
public float visibilityInFrame
Field Value
Type | Description |
---|---|
float |
Methods
ToMessage(IMessageBuilder)
Convert contents int a message.
Declaration
public void ToMessage(IMessageBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IMessageBuilder | builder | The message builder that will convert the class's contents into a message |