Class Leap::TestHandFactory¶
- class Leap.TestHandFactory¶
Public Static Functions
- static Frame MakeTestFrame (int frameId, bool includeLeftHand = true, bool includeRightHand = true, TestHandPose handPose = TestHandPose.HeadMountedA)¶
-
Creates a test Frame that contains two Hands (by default). You can also optionally specify a TestHandPose to produce a frame with a different test pose.
- static Hand MakeTestHand (bool isLeft, LeapTransform leftHandTransform, int frameId = 0, int handId = 0)¶
-
Returns a test Leap Hand object transformed by the leftHandTransform argument. If the Leap hand is a right hand, the position and rotation of the Hand will be mirrored along the X axis (so you can provide LeapTransform to construct both left and right hands.