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.Ultraleap Class

Ultraleap Class

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

TRACKING_MODE#

ИмяОписание
DESKTOP = 0The tracking mode optimised for desktop devices.
HMD = 1The tracking mode optimised for head-mounted devices.
SCREEN_TOP = 2The tracking mode optimised for screen top-mounted devices.
UNKNOWN = 3Tracking mode is not known.

CONNECTION_STATUS#

ИмяОписание
NOT_CONNECTED = 0The connection is not open.
CONNECTED = 1The connection is open.
HANDSHAKE_INCOMPLETE = 2Opening the connection is underway, but not complete.
NOT_RUNNING = -1The connection could not be opened because the Ultraleap Tracking Service does not appear to be running.

OPTIMIZE_MODE#

ИмяОписание
DISABLED = 0Tracking optimization is disabled.
AUTO = 1Tracking optimization is set to automatic.
HMD = 2Tracking is optimized for head-mounted devices. The optimize HMD policy improves tracking in situations where the Ultraleap hardware is attached to a head-mounted display. This policy is not granted for devices that cannot be mounted to an HMD, such as Ultraleap controllers embedded in a laptop or keyboard.
SCREEN_TOP = 3Tracking is optimized for screen-top devices.

Properties

bool BackgroundUpdate#

The value indicating if the application is allowed to receive frames in the background.

bool StreamImages#

The value indicating if streaming of images is currently enabled.

bool Paused#

The value indicating if the Ultraleap service is currently paused.

bool AllowPauseResume#

The value indicating if the application is allowed to pause and unpause the Ultraleap service.

Ultraleap.OPTIMIZE_MODE OptimizeMode#

The optimization mode. One of the OPTIMIZE_MODE values.

Ultraleap.TRACKING_MODE TrackingMode#

The tracking mode. One of the TRACKING_MODE values.

bool TrackingInterpolation#

The value indicating if the tracking interpolation is enabled.

Ultraleap.CONNECTION_STATUS ConnectionStatus#

The connection status. One of the CONNECTION_STATUS values.

bool IsStatusLowFPSDetected#

The value indicating if the service cannot receive frames fast enough from the underlying hardware.

bool IsStatusPoorPerformancePause#

The value indicating if the service has paused itself due to an insufficient frame rate from the hardware.

bool IsStatusTrackingErrorUnknown#

The value indicating if the service has failed to start tracking due to unknown reasons.

vec3 TrackingOffsetDefault#

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.

UltraleapDevice.TRANSFORM_MODE TransformModeOffsetDefault#

The transform mode. One of the TRANSFORM_MODE values.

int NumDevices#

The number of connected devices.

int NumDevicesConnected#

The number of connected Ultraleap controller devices.

long LeapNow#

The time, in microseconds since an unspecified epoch.

Members


UltraleapDevice GetDevice ( int device_id ) #

Returns the Ultraleap controller device from the list of recognized devices.

Arguments

  • int device_id - The ID of the Ultraleap controller device.

Return value

The Ultraleap controller device.

UltraleapDevice GetDeviceConnected ( int device_id ) #

Returns the Ultraleap controller device from the list of connected devices.

Arguments

  • int device_id - The ID of the Ultraleap controller device.

Return value

The Ultraleap controller device.
Last update: 19.04.2024
Build: ()