Class BoundingBox3DDefinition
The annotation definition of a 3D bounding box labeler
Implements
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[MovedFrom("UnityEngine.Perception.GroundTruth")]
public class BoundingBox3DDefinition : AnnotationDefinition, IMessageProducer
Constructors
BoundingBox3DDefinition(string, LabelEntrySpec[])
Public constructor for BoundingBox3DDefinition
Declaration
public BoundingBox3DDefinition(string id, IdLabelConfig.LabelEntrySpec[] spec)
Parameters
Type | Name | Description |
---|---|---|
string | id | Definition id |
LabelEntrySpec[] | spec | Set of labels for the definition |
Properties
description
The description of the annotation.
Declaration
public override string description { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
modelType
Type of the data object
Declaration
public override string modelType { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
spec
The current set of labels
Declaration
public IdLabelConfig.LabelEntrySpec[] spec { get; }
Property Value
Type | Description |
---|---|
LabelEntrySpec[] |
Methods
ToMessage(IMessageBuilder)
Convert contents int a message.
Declaration
public override void ToMessage(IMessageBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IMessageBuilder | builder | The message builder that will convert the class's contents into a message |