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...
OpenXRSpatialQueryResultData๏
Experimental: This class may be changed or removed in future versions.
Inherits: OpenXRSpatialComponentData < RefCounted < Object
Object for storing the main query result data.
Description๏
Object for storing the main query result data when calling OpenXRSpatialEntityExtension.query_snapshot(). This must always be the first component requested.
Methods๏
get_capacity() const |
|
get_entity_id(index: int) const |
|
get_entity_state(index: int) const |
Method Descriptions๏
Returns the number of entities that were retrieved.
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.