Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OpenXRMarkerTracker
Sperimentale: This class may be changed or removed in future versions.
Eredita: OpenXRSpatialEntityTracker < XRPositionalTracker < XRTracker < RefCounted < Object
Spatial entity tracker for our spatial entity marker tracking extension.
Descrizione
Spatial entity tracker for our OpenXR spatial entity marker tracking extension. These trackers identify entities in our real space detected by a visual marker such as a QRCode or Aruco code, and map their location to our virtual space.
Proprietà
|
||
|
||
|
Metodi
get_marker_data() const |
|
void |
set_marker_data(marker_data: Variant) |
Descrizioni delle proprietà
Vector2 bounds_size = Vector2(0, 0) 🔗
Le dimensioni limite per questo marcatore.
L'ID del marcatore per questo marcatore, viene restituito solo per i marcatori Aruco e April Tag. Chiama get_marker_data() per i marcatori QRCode.
MarkerType marker_type = 0 🔗
void set_marker_type(value: MarkerType)
MarkerType get_marker_type()
Il tipo di marcatore.
Descrizioni dei metodi
Variant get_marker_data() const 🔗
Restituisce i dati del marcatore per questo marcatore. Può restituire una String o un PackedByteArray. Applicabile solo ai marcatori basati su codici QR.
void set_marker_data(marker_data: Variant) 🔗
Imposta i dati del marcatore per questo marcatore.
Nota: Questi si dovrebbero impostare soltanto dalla logica di individuazione dei marcatori.