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

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

Hereda: OpenXRSpatialComponentData < RefCounted < Object

Objeto para almacenar los datos principales del resultado de la consulta.

Descripción

Objeto para almacenar los datos principales del resultado de la consulta al llamar a OpenXRSpatialEntityExtension.query_snapshot(). Este siempre debe ser el primer componente solicitado.

Métodos

int

get_capacity() const

int

get_entity_id(index: int) const

EntityTrackingState

get_entity_state(index: int) const


Descripciones de Métodos

int get_capacity() const 🔗

Devuelve el número de entidades recuperadas.


int get_entity_id(index: int) const 🔗

Returns the entity id (XrSpatialEntityIdEXT) for the entity at this index.


EntityTrackingState get_entity_state(index: int) const 🔗

Returns the entity state for the entity at this index.