This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Professional (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Materials and Shaders
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
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
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Сэмплы материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

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#

ИмяОписание
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: 14.12.2022
Build: ()