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