C Specification
The XrSpatialComponentDataQueryResultEXT structure is defined as:
// Provided by XR_EXT_spatial_entity
typedef struct XrSpatialComponentDataQueryResultEXT {
XrStructureType type;
void* next;
uint32_t entityIdCapacityInput;
uint32_t entityIdCountOutput;
XrSpatialEntityIdEXT* entityIds;
uint32_t entityStateCapacityInput;
uint32_t entityStateCountOutput;
XrSpatialEntityTrackingStateEXT* entityStates;
} XrSpatialComponentDataQueryResultEXT;
Members
Description
An application can use the entityIds with
xrCreateSpatialEntityFromIdEXT to create XrSpatialEntityEXT
handles for the entities it is interested in getting regular updates for.
The application can then use these XrSpatialEntityEXT handles with
xrCreateSpatialUpdateSnapshotEXT to create an update snapshot that has
the runtime’s latest known data of the components for the provided entities.
See Also
Document Notes
For more information, see the OpenXR Specification
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright 2014-2025 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.