LeapHandControllerΒΆ

The LeapHandController script is attached to the LeapHandController prefab. The prefab serves as the anchor point for drawing hands. You can set the LeapHandController properties, such as which hand prefabs to use, in the Inspector panel.

https://di4564baj7skl.cloudfront.net/documentation/images/unity/Unity_HandControllerGraphics.png

When you play the scene, any hands detected by the Leap Motion controller are drawn relative to the position and orientation of the prefab.

https://di4564baj7skl.cloudfront.net/documentation/images/unity/UnityGizmo.jpg

If your hand is 20cm above the Leap Motion device, the virtual hand is drawn 20cm above the prefab position (if the LeapHandController transform scale is set to 1.0). Do note that the default scale is 20:1, so hands are drawn much larger than real-size. In the Unity Scene view, the approximate field of view of the Leap Motion sensors are shown.

Warning

doxygenclass: Cannot find class “LeapHandController” in doxygen xml output for project “unitycore” from directory: ../doxygen_out_keep/unity/core/xml