Up to date

This page is up to date for Godot 4.3. If you still find outdated information, please open 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

String

description

""

StringName

name

&"Unknown"

TrackerType

type

128


Property Descriptions

String description = "" 🔗

  • void set_tracker_desc(value: String)

  • String get_tracker_desc()

The description of this tracker.


StringName name = &"Unknown" 🔗

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:


TrackerType type = 128 🔗

The type of tracker.