This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
创建内容
内容优化
材质
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

枚举

TYPE#

Name说明/描 述
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: 2024-04-19
Build: ()