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

UltraleapDevice Class

枚举

HARDWARE_TYPE#

Name说明/描 述
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#

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