Constructor XRHumanBodyPose2DJoint
XRHumanBodyPose2DJoint(int, int, Vector2, bool)
Constructs a XRHumanBodyPose2DJoint with the given parameters.
Declaration
public XRHumanBodyPose2DJoint(int index, int parentIndex, Vector2 position, bool tracked)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the joint in the skeleton hierachy. |
| int | parentIndex | The index of the parent joint in the skeleton hierarchy. |
| Vector2 | position | The position of the joint in 2D screenspace. |
| bool | tracked | Whether the joint is tracked. |