Struct KeypointAnnotationDefinition.Template
A struct defining a skeleton of keypoints and their connections.
Implements
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[Serializable]
public struct KeypointAnnotationDefinition.Template : IMessageProducer
Fields
keyPoints
The list of keypoint joints in this template.
Declaration
public KeypointAnnotationDefinition.JointDefinition[] keyPoints
Field Value
Type | Description |
---|---|
JointDefinition[] |
skeleton
The list of joint connections in this template.
Declaration
public KeypointAnnotationDefinition.SkeletonDefinition[] skeleton
Field Value
Type | Description |
---|---|
SkeletonDefinition[] |
templateId
The id of this template.
Declaration
public string templateId
Field Value
Type | Description |
---|---|
string |
templateName
The name of this template.
Declaration
public string templateName
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 |