Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

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.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.