Hand Tracking Hinting¶
What is Hand Tracking Hinting?¶
Hand Tracking Hinting is the ability to change features of the hand tracking system based on specific needs of your application.
Available Hints are listed in the LeapC API documentation defined by "Request Using...".
e.g. “ultra_performance_mode”.
How do I apply Hand Tracking Hints on startup?¶
To apply Hand Tracking Hints on startup, or at runtime you can use the following:
1. In your blueprint, call a Blueprint function SetLeapDeviceHints
. This function will take as parameter an array of string for the
hints. This can also be used to remove all hints if the hints passed are empty strings.
2. To add one hint use Blueprint function call AddLeapDeviceHint
. This function will take as parameter a string for the
hint we need to add.
3. To remove one hint use Blueprint function call RemoveLeapDeviceHint
. This function will take as parameter a string for the
hint we need to remove.
4. SetLeapOptions
can also be used similar to SetLeapDeviceHints
to add and remove a list of hints. Make sure to get the correct leap options
before you call SetLeapOptions
, this can be achieved using GetLeapOptions
.
Note
All the previous functions take as a parameter an array of strings for the device serials. If the device serials is left empty, it will default to the first device.