Struct KeypointAnnotationDefinition.SkeletonDefinition
A struct defining a bone connection in a keypoint skeleton.
Implements
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[Serializable]
public struct KeypointAnnotationDefinition.SkeletonDefinition : IMessageProducer
Fields
color
The color of this bone.
Declaration
public Color color
Field Value
Type | Description |
---|---|
Color |
joint1
The id of the first joint connection of this bone.
Declaration
public int joint1
Field Value
Type | Description |
---|---|
int |
joint2
The id of the second joint connection of this bone.
Declaration
public int joint2
Field Value
Type | Description |
---|---|
int |
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 |