Class BoundingBox3DDefinition
The annotation definition of a 3D bounding box labeler
Namespace: UnityEngine.Perception.GroundTruth
Syntax
public class BoundingBox3DDefinition : AnnotationDefinition, IMessageProducer
Constructors
BoundingBox3DDefinition(String, IdLabelConfig.LabelEntrySpec[])
Declaration
public BoundingBox3DDefinition(string id, IdLabelConfig.LabelEntrySpec[] spec)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
IdLabelConfig.LabelEntrySpec[] | spec |
Properties
description
The description of the annotation.
Declaration
public override string description { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
modelType
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 |
---|---|
IdLabelConfig.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 |