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

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: 19.04.2024
Build: ()