Class KeypointValue
The value of an individual keypoint on a keypoint component.
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[MovedFrom("UnityEngine.Perception.GroundTruth")]
public class KeypointValue : IMessageProducer, ICloneable
Fields
location
The location of the keypoint
Declaration
public Vector2 location
Field Value
Type | Description |
---|---|
Vector2 |
Properties
cameraCartesianLocation
The cartesian coordinate of the keypoint relative to the camera's coordinate system
Declaration
public Vector3 cameraCartesianLocation { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
index
The index of the keypoint in the template file
Declaration
public int index { get; set; }
Property Value
Type | Description |
---|---|
int |
state
The state of the point, 0 = not present, 1 = keypoint is present but not visible, 2 = keypoint is present and visible
Declaration
public int state { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
Clone()
Creates a copy of KeypointValue
Declaration
public object Clone()
Returns
Type | Description |
---|---|
object | new KeypointValue |
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 |