XRTracker ​
Inherits: RefCounted < Object
Inherited By: XRFaceTracker, XRPositionalTracker
A tracked object.
Description
This object is the base of all XR trackers.
Tutorials
Properties
"" | ||
&"Unknown" | ||
128 |
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. Godot maintains a number of reserved names that it expects the XRInterface to implement if applicable:
head
identifies the XRPositionalTracker of the players headleft_hand
identifies the XRControllerTracker in the players left handright_hand
identifies the XRControllerTracker in the players right hand/user/hand_tracker/left
identifies the XRHandTracker for the players left hand/user/hand_tracker/right
identifies the XRHandTracker for the players right hand/user/body_tracker
identifies the XRBodyTracker for the players body/user/face_tracker
identifies the XRFaceTracker for the players face
TrackerType type = 128 🔗
void set_tracker_type(value: TrackerType)
TrackerType get_tracker_type()
The type of tracker.