Struct IdLabelConfig.LabelEntrySpec
A structure representing a label entry for writing out to datasets.
Namespace: UnityEngine.Perception.GroundTruth
Syntax
public struct LabelEntrySpec : IMessageProducer
Fields
label_id
The label id prepared for reporting in the annotation
Declaration
public int label_id
Field Value
Type | Description |
---|---|
Int32 |
label_name
The label name prepared for reporting in the annotation
Declaration
public string label_name
Field Value
Type | Description |
---|---|
String |
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 |