- class Leap.Unity.DebugHand : public Leap.Unity.HandModelBase¶
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.
- virtual override bool SupportsEditorPersistence ()¶
Returns whether or not this hand model supports editor persistence. This is false by default and must be opt-in by a developer making their own hand model script if they want editor persistence.
- virtual override void InitHand ()¶
Initializes the hand and calls the line drawing function.
- virtual override void UpdateHand ()¶
Updates the hand and calls the line drawing function.