DebugHandΒΆ

The DebugHand draws no graphics in a Game view, but draws lines for the parts of the hand in the Scene view. Use the DebugHand when you do not want visible hands, but want to see where the hands are in the Scene view.

unity/../../../images/unity/Unity_DebugHand.png
class DebugHand

A HandModel that draws lines for the bones in the hand and its fingers.

The debugs lines are only drawn in the Editor Scene view (when a hand is tracked) and not in the Game view. Use debug hands when you aren’t using visible hands in a scene so that you can see where the hands are in the scene view.

Public Functions

override void InitHand()

Initializes the hand and calls the line drawing function.

override void UpdateHand()

Updates the hand and calls the line drawing function.