Struct KeypointAnnotationDefinition.JointDefinition
The definition of a keypoint skeleton joint.
Implements
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[Serializable]
public struct KeypointAnnotationDefinition.JointDefinition : IMessageProducer
Fields
color
The color associated with this joint.
Declaration
public Color color
Field Value
| Type | Description |
|---|---|
| Color |
index
The index of this joint.
Declaration
public int index
Field Value
| Type | Description |
|---|---|
| int |
label
The label associated with this joint.
Declaration
public string label
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 |