Unigine::InputVRTracker Class
Header: | #include <UnigineInput.h> |
Inherits from: | InputVRDevice |
The class handles VR tracker input.
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.
UNIGINE supports base stations that are compatible with OpenVR and Varjo devices only.
InputVRTracker Class
枚举
MODEL_TYPE#
Name | 描述 |
---|---|
MODEL_TYPE_UNKNOWN = 0 | Unknown VR tracker. |
MODEL_TYPE_HTC_VIVE = 1 | HTC Vive |
NUM_MODEL_TYPES = 2 | Total 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
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)