> For the complete documentation index, see [llms.txt](https://handtracking.lightbuzz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://handtracking.lightbuzz.com/api-reference/fingerjoint.md).

# FingerJoint

```csharp
public class FingerJoint
```

### Constructors

| Name                                                                                                                                                                                                                                                                                                              | Description                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| FingerJoint()                                                                                                                                                                                                                                                                                                     | Creates a new FingerJoint object.                                                                                         |
| FingerJoint([FingerJoint](/api-reference/fingerjoint.md))                                                                                                                                                                                                                                                         | Creates a new FingerJoint object by copying the data from the specified finger joint.                                     |
| FingerJoint([FingerJointType](/api-reference/fingerjointtype.md), [UnityEngine.Vector2](https://docs.unity3d.com/ScriptReference/Vector2.html), [UnityEngine.Vector3](https://docs.unity3d.com/ScriptReference/Vector3.html), [UnityEngine.Quaternion](https://docs.unity3d.com/ScriptReference/Quaternion.html)) | Creates a new FingerJoint object with the specified type, 2D position,3D position and 3D orientation of the finger joint. |

### Properties

| Name        | Type                                                                               | Description                                    |
| ----------- | ---------------------------------------------------------------------------------- | ---------------------------------------------- |
| Type        | [FingerJointType](/api-reference/fingerjointtype.md)                               | The type of the finger joint.                  |
| Position2D  | [UnityEngine.Vector2](https://docs.unity3d.com/ScriptReference/Vector2.html)       | The 2D position of the finger joint in pixels. |
| Position3D  | [UnityEngine.Vector3](https://docs.unity3d.com/ScriptReference/Vector3.html)       | The 3D position of the finger joint in meters. |
| Orientation | [UnityEngine.Quaternion](https://docs.unity3d.com/ScriptReference/Quaternion.html) | The 3D orientation of the joint.               |

### Methods

| Name                                            | Return Type | Description                                                                           |
| ----------------------------------------------- | ----------- | ------------------------------------------------------------------------------------- |
| ToString()                                      | string      | Converts the value of this instance to a string.                                      |
| Equals([Finger](/api-reference/fingerjoint.md)) | bool        | Determines whether the specified Finger object is equal to the current Finger object. |
| GetHashCode()                                   | int         | Returns a hash code for the current Finger object.                                    |

### Example

The example shows how to create a finger joint with the `FingerJoint` class.

#### Create a finger joint with the specified 2D position and 3D position

```csharp
FingerJoint indexTip = new FingerJoint
(
    FingerJointType.IndexTip,
    new Vector2(3, 3),
    new Vector3(0.3f, 0.3f, 0.3f),
    new Quaternion()
);
```

#### Create a finger joint with the specified finger joint

```csharp
FingerJoint indexTipNew = new FingerJoint(indexTip);
```

#### Create an empty finger joint

<pre class="language-csharp"><code class="lang-csharp"><strong>FingerJoint emptyJoint = new FingerJoint();
</strong></code></pre>
