LeapMotionBone Class
Warning
The scope of applications for UnigineScript is limited to implementing materials-related logic (material expressions, scriptable materials, brush materials). Do not use UnigineScript as a language for application logic, please consider C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScript (beyond its scope of applications) is not guaranteed, as the current level of support assumes only fixing critical issues.
Notice
LeapMotion plugin must be loaded.
This class represents a bone of a finger. All coordinates are relative to the origin of the Leap Motion coordinate system.
struct Bone
Fields
- enum TYPE
- int type
- float length - Length of the bone, in meters.
- float width - Width of the bone, in meters.
- int is_valid - Value indicating if the bone contains valid tracking data.
The information on this page is valid for UNIGINE 2.20 SDK.
Last update:
2024-10-21
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)