HandVisual
Visualizes finger joints using LineRenderer.
Inherits UnityEngine.MonoBehaviour class.
Constructors
Name | Description |
---|---|
HandVisual() | Creates a new HandVisual object. |
Properties
Name | Type | Description |
---|---|---|
Hand | The hand associated with the visual. | |
Offset | The offset associated with the visual. | |
Is2D | bool | Whether it shows the 2D or 3D positions. |
Image | The ImageView associated with the visual. |
Methods
Name | Return Type | Description |
---|---|---|
Load(Hand,UnityEngine.Vector3) | void | Visualizes the hand using |
Toggle(bool) | void | Sets |
Example
The example shows how to visualize a detected hand with the HandVisual
class.
To visualize a hand, first, you need to instantiate a GameObject
and get the component HandVisual
. Then load the detected Hand
to the specified ImageView.
Last updated