Struct InstanceSegmentationEntry
An instance segmentation entry
Namespace: UnityEngine.Perception.GroundTruth
Syntax
public struct InstanceSegmentationEntry
Properties
instanceId
The instance ID associated with a pixel color
Declaration
public int instanceId { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
labelId
The label ID of the instance
Declaration
public int labelId { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
labelName
The label name of the instance
Declaration
public string labelName { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| String |
rgba
The color (rgba) value
Declaration
public Color32 rgba { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Color32 |
Methods
ToMessage(IMessageBuilder)
Declaration
public void ToMessage(IMessageBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| IMessageBuilder | builder |