This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Режимы вывода изображения
Физика
Браузер SDK 2
Лицензирование и типы лицензий
Дополнения (Add-Ons)
Демонстрационные проекты
API Samples
Редактор 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.UltraleapDevice Class

UltraleapDevice Class

Перечисления (Enums)

HARDWARE_TYPE#

ИмяОписание
UNKNOWN = 0x0000An unknown device that is compatible with the tracking software.
PERIPHERAL = 0x0003The Leap Motion Controller (the first consumer peripheral).
DRAGONFLY = 0x1102Internal research product codename “Dragonfly”.
NIGHTCRAWLER = 0x1201Internal research product codename “Nightcrawler”.
RIGEL = 0x1202Research product codename “Rigel”.
SIR170 = 0x1203he Ultraleap Stereo IR 170 (SIR170) hand tracking module.
_3DI = 0x1204The Ultraleap 3Di hand tracking camera.
INVALID = -1An invalid device type.

TRANSFORM_MODE#

ИмяОписание
HMD_VARJO = 0HMD Pose from AppVarjo and the IModelView from Game::getPlayer() are used for transform.
MANUAL = 1The user manually sets the transform matrix as described for the Ultraleap Coordinate System.

Properties

bool IsStatusConnected#

The value indicating if the Ultraleap Controller device is connected.

bool IsStatusStreaming#

The value indicating if the Ultraleap Controller device is sending out frames.

bool IsStatusPaused#

The value indicating if the Ultraleap Controller device streaming has been paused.

bool IsStatusRobust#

The value indicating if the Ultraleap Controller device has transitioned to robust mode in order to compensate for known sources of infrared interference.

bool IsStatusSmudged#

The value indicating if the Ultraleap Controller device’s window is smudged. If the device’s window is smudged, tracking may be degraded.

bool IsStatusLowResource#

The value indicating if the Ultraleap Controller device has entered low-resource mode.

bool IsStatusUnknownFailure#

The value indicating if the Ultraleap Controller device has failed, but the failure reason is not known.

bool IsStatusBadCalibration#

The value indicating if the Ultraleap Controller device has a bad calibration record and cannot send frames.

bool IsStatusBadFirmware#

The value indicating if the Ultraleap Controller device reports corrupt firmware or cannot install a required firmware update.

bool IsStatusBadTransport#

The value indicating if the Ultraleap Controller device USB connection is faulty.

bool IsStatusBadControl#

The value indicating if the Ultraleap Controller device USB control interfaces failed to initialize.

string Serial#

The device serial number.

float HFov#

The horizontal field of view of this device in radians.

float VFov#

The vertical field of view of this device in radians.

double Range#

The maximum range for this device, in meters.

double DistanceBetweenCameras#

The distance between the Ultraleap cameras, in meters.

UltraleapDevice.HARDWARE_TYPE HardwareType#

The hardware type. One of the HARDWARE_TYPE values.

uint LeapID#

The device ID.

bool IsSupportedColorImages#

The value indicating if color images are supported for this device.

bool IsSupportedAccelerometer#

The value indicating if the accelerometer is supported for this device.

bool IsSupportedGyroscope#

The value indicating if the gyroscope is supported for this device.

bool IsSupportedTemperature#

The value indicating if temperature measuring is supported for this device.

vec3 Accelerometer#

The accelerometer measurements, in m/s^2.

vec3 Gyroscope#

The gyroscope measurements, in rad/s.

float Temperature#

The measured temperature, in deg C.

vec3 TrackingOffset#

The default offset for the newly connected device. The Y value specifies the offset from the eyes to the frontal camera plane, in meters, and the Z value — the offset from the eye level up to the camera level, in meters. The X value should be set to 0.

float TrackingFPS#

The tracking FPS value.

mat4 Transform#

The transformation matrix.

UltraleapDevice.TRANSFORM_MODE TransformMode#

The transform mode. One of the TRANSFORM_MODE values.

UltraleapHand LeftHand#

The object for the left hand.

UltraleapHand RightHand#

The object for the right hand.

bool IsLeftDistortionReceived#

The value indicating if the distortion calibration map for the left-eye image has been received.

Image LeftDistortionImage#

The distortion calibration map for the left-eye image.

bool IsLeftColorReceived#

The value indicating if the color image for the left eye image has been received.

Image LeftColorImage#

The color image for the left eye.

bool IsRightDistortionReceived#

The value indicating if the distortion calibration map for the right-eye image has been received.

Image RightDistortionImage#

The distortion calibration map for the right-eye image.

bool IsRightColorReceived#

The value indicating if the color image for the right eye image has been received.

Image RightColorImage#

The color image for the right eye.

Members


Last update: 13.12.2024
Build: ()