This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
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
Animations-Related Classes
Containers
Common Functionality
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
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine::InputVRTracker Class

Header: #include <UnigineInput.h>
Inherits from: InputVRDevice

The class handles VR tracker input.

Notice
The VR tracker needs to have a world transformation. So that you can, for example, pin the tracker to a camera or player for tracking its position in the virtual world.
Notice
UNIGINE supports base stations that are compatible with OpenVR and Varjo devices only.

InputVRTracker Class

Enums

MODEL_TYPE#

NameDescription
MODEL_TYPE_UNKNOWN = 0Unknown VR tracker.
MODEL_TYPE_HTC_VIVE = 1HTC Vive
NUM_MODEL_TYPES = 2Total number of VR tracker models.

Members


InputVRTracker::MODEL_TYPE getModelType ( ) const#

Returns the model type of the VR tracker.

Return value

Tracker model type.
Last update: 2024-08-16
Build: ()