C Specification

The XrSpatialEntityIdBD atom is defined as:

// Provided by XR_BD_spatial_sensing
XR_DEFINE_ATOM(XrSpatialEntityIdBD)

Description

The XrSpatialEntityIdBD is used to represent the spatial entities that are sensed by the runtime in the user’s physical environment. The application can obtain spatial entity information from the XrSenseDataSnapshotBD. This atom is retrieved from XrSenseDataSnapshotBD and shares its lifetime. The application must not use an XrSpatialEntityIdBD with a snapshot it was not retrieved from. The same numerical value of ID may be reused between different snapshots for different entities. See xrGetSpatialEntityUuidBD for a more stable ID.

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 2014-2025 The Khronos Group Inc.