Up to date
This page is up to date for Redot 4.3
.
If you still find outdated information, please create an issue.
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:
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.