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.

OpenXRSpatialQueryResultData

Sperimentale: This class may be changed or removed in future versions.

Eredita: OpenXRSpatialComponentData < RefCounted < Object

Object for storing the main query result data.

Descrizione

Oggetto per memorizzare i dati principali risultanti di una richiesta quando si chiama OpenXRSpatialEntityExtension.query_snapshot(). Questo deve essere sempre il primo componente richiesto.

Metodi

int

get_capacity() const

int

get_entity_id(index: int) const

EntityTrackingState

get_entity_state(index: int) const


Descrizioni dei metodi

int get_capacity() const 🔗

Returns the number of entities that were retrieved.


int get_entity_id(index: int) const 🔗

Restituisce l'ID di entità (XrSpatialEntityIdEXT) per l'entità associata all'indice index.


EntityTrackingState get_entity_state(index: int) const 🔗

Returns the entity state for the entity at this index.