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...
OpenXRSpatialEntityTracker
Experimental: This class may be changed or removed in future versions.
Hereda: XRPositionalTracker < XRTracker < RefCounted < Object
Heredado por: OpenXRAnchorTracker, OpenXRMarkerTracker, OpenXRPlaneTracker
Clase base para rastreadores posicionales gestionados por las extensiones de entidad espacial de OpenXR.
Descripción
Estos son rastreadores creados y gestionados por las extensiones de entidad espacial de OpenXR que dan acceso a datos específicos relacionados con las entidades espaciales de OpenXR. Siempre serán de tipo TRACKER_ANCHOR.
Propiedades
|
||
|
||
type |
|
Métodos
void |
add_next(next: OpenXRStructureBase) |
get_next() const |
|
get_spatial_context() const |
|
void |
remove_next(next: OpenXRStructureBase) |
void |
set_spatial_context(spatial_context: RID) |
Señales
next_changed() 🔗
Emitted when the next-chain changes, from either add_next() or remove_next().
spatial_tracking_state_changed(spatial_tracking_state: int) 🔗
There is currently no description for this signal. Please help us by contributing one!
Enumeraciones
enum EntityTrackingState: 🔗
EntityTrackingState ENTITY_TRACKING_STATE_STOPPED = 1
Este ancla ha dejado de rastrear.
EntityTrackingState ENTITY_TRACKING_STATE_PAUSED = 2
El rastreo está actualmente pausado.
EntityTrackingState ENTITY_TRACKING_STATE_TRACKING = 3
Este ancla está siendo rastreada actualmente.
Descripciones de Propiedades
La entidad espacial asociada con este rastreador.
EntityTrackingState spatial_tracking_state = 2 🔗
void set_spatial_tracking_state(value: EntityTrackingState)
EntityTrackingState get_spatial_tracking_state()
El estado de seguimiento espacial para este rastreador.
Descripciones de Métodos
void add_next(next: OpenXRStructureBase) 🔗
Adds a new OpenXRStructureBase to the next-chain.
get_next() will return this next until either add_next() is called again or it's removed in remove_next().
OpenXRStructureBase get_next() const 🔗
Gets the head OpenXRStructureBase in the next-chain.
See also add_next() and remove_next().
RID get_spatial_context() const 🔗
Gets the spatial context used to create this OpenXRSpatialEntityTracker.
void remove_next(next: OpenXRStructureBase) 🔗
Removes a next object previously added in add_next() from the next-chain.
void set_spatial_context(spatial_context: RID) 🔗
Sets the spatial context used to create this tracker.