Attention: Here be dragons (unstable version)
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Redot.
Checking the stable version of the documentation...
XRTracker
Inherits: RefCounted < Object
Inherited By: XRFaceTracker, XRPositionalTracker
A tracked object.
Description
This object is the base of all XR trackers.
Tutorials
Properties
|
||
|
||
|
Property Descriptions
The description of this tracker.
StringName name = &"Unknown" 🔗
void set_tracker_name(value: StringName)
StringName get_tracker_name()
The unique name of this tracker. The trackers that are available differ between various XR runtimes and can often be configured by the user. Redot maintains a number of reserved names that it expects the XRInterface to implement if applicable:
headidentifies the XRPositionalTracker of the players headleft_handidentifies the XRControllerTracker in the players left handright_handidentifies the XRControllerTracker in the players right hand/user/hand_tracker/leftidentifies the XRHandTracker for the players left hand/user/hand_tracker/rightidentifies the XRHandTracker for the players right hand/user/body_trackeridentifies the XRBodyTracker for the players body/user/face_trackeridentifies the XRFaceTracker for the players face
TrackerType type = 128 🔗
void set_tracker_type(value: TrackerType)
TrackerType get_tracker_type()
The type of tracker.