This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine.Plugins.UltraleapHand Class

Notice
Ultraleap plugin must be loaded.

Hands are the main entity tracked by the Ultraleap controller. The controller maintains an inner model of the human hand and validates the data from its sensors against this model. This allows the controller to track finger positions even when a finger is not completely visible.

Notice
It is possible for movement or changes in position to be lost when a finger is behind or directly in front of the hand (from the point of view of the controller).

The Ultraleap software matches the internal model against the existing data. In some cases, the software can make an incorrect match – for example, identifying a right hand as a left hand.

The Hand class represents a physical hand detected by the Leap and provides access to its attributes describing the hand position, orientation, and movement.

UltraleapHand Class

Enums

TYPE#

NameDescription
LEFT = 0Left hand.
RIGHT = 1Right hand.
NUM_TYPES = 2Total number of hand types.

Properties

UltraleapHand.TYPE Type#

The type of the hand. One of the TYPE values.

bool IsVisible#

The value indicating if the hand is visible to the Ultraleap Controller.

long VisibleTime#

The duration of time this Hand has been visible to the Ultraleap Controller.

float PinchDistance#

The distance between the thumb and index finger of a pinch hand pose.

float PinchStrength#

The holding strength of a pinch hand pose: 0 for an open hand, and blends to 1 when a pinching hand pose is recognized.

float GrabStrength#

The strength of a grab hand pose: 0 for an open hand, and blends to 1 when a grabbing hand pose is recognized.

float GrabAngle#

The angle between the fingers and the hand of a grab hand pose: 0 radian for an open hand, and reaches π radians when the pose is a tight fist.

double PalmWidth#

The width of the palm when the hand is in a flat position, in meters.

vec3 PalmPosition#

The coordinates of the position of the palm.

vec3 PalmStabilizedPosition#

The coordinates of the modified palm position with some additional smoothing and stabilization applied.

dvec3 PalmVelocity#

The rate of change of the palm position, in m/s.

vec3 PalmNormal#

The coordinates of the normal vector to the palm.

vec3 Direction#

The normalized direction from the palm position toward the fingers.

UltraleapArm Arm#

The object for the arm.

UltraleapFinger FingerThumb#

The object for the thumb.

UltraleapFinger FingerIndex#

The object for the index finger.

UltraleapFinger FingerMiddle#

The object for the middle finger.

UltraleapFinger FingerRing#

The object for the ring finger.

UltraleapFinger FingerPinky#

The object for the pinky finger.

Members


Last update: 2023-03-15
Build: ()