Files
godot/doc/classes/XRTracker.xml
noahbackus 9d30169a8d
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
initial commit, 4.5 stable
2025-09-16 20:46:46 -04:00

31 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="XRTracker" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
A tracked object.
</brief_description>
<description>
This object is the base of all XR trackers.
</description>
<tutorials>
<link title="XR documentation index">$DOCS_URL/tutorials/xr/index.html</link>
</tutorials>
<members>
<member name="description" type="String" setter="set_tracker_desc" getter="get_tracker_desc" default="&quot;&quot;">
The description of this tracker.
</member>
<member name="name" type="StringName" setter="set_tracker_name" getter="get_tracker_name" default="&amp;&quot;Unknown&quot;">
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:
- [code]"head"[/code] identifies the [XRPositionalTracker] of the player's head
- [code]"left_hand"[/code] identifies the [XRControllerTracker] in the player's left hand
- [code]"right_hand"[/code] identifies the [XRControllerTracker] in the player's right hand
- [code]"/user/hand_tracker/left"[/code] identifies the [XRHandTracker] for the player's left hand
- [code]"/user/hand_tracker/right"[/code] identifies the [XRHandTracker] for the player's right hand
- [code]"/user/body_tracker"[/code] identifies the [XRBodyTracker] for the player's body
- [code]"/user/face_tracker"[/code] identifies the [XRFaceTracker] for the player's face
</member>
<member name="type" type="int" setter="set_tracker_type" getter="get_tracker_type" enum="XRServer.TrackerType" default="128">
The type of tracker.
</member>
</members>
</class>