This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
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
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Unigine.Plugins.UltraleapDevice Class

UltraleapDevice Class

Enums

HARDWARE_TYPE#

NameDescription
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#

NameDescription
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: 2022-12-14
Build: ()