Struct KeypointComponent
Namespace: UnityEngine.Perception.GroundTruth
Syntax
public struct KeypointComponent : IMessageProducer
Fields
keypoints
Array of all of the keypoints
Declaration
public KeypointValue[] keypoints
Field Value
Type | Description |
---|---|
KeypointValue[] |
Properties
instanceId
The instance id of the entity
Declaration
public uint instanceId { readonly get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
labelId
The label id of the entity
Declaration
public int labelId { readonly get; set; }
Property Value
Type | Description |
---|---|
Int32 |
pose
Pose ground truth for the current set of keypoints
Declaration
public string pose { readonly get; set; }
Property 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 |