C Specification
The xrCreateSpatialEntityAnchorBD function is defined as:
// Provided by XR_BD_spatial_sensing
XrResult xrCreateSpatialEntityAnchorBD(
    XrSenseDataProviderBD                       provider,
    const XrSpatialEntityAnchorCreateInfoBD*    createInfo,
    XrAnchorBD*                                 anchor);Parameters
Description
Some spatial entities may have frequently changing poses, requiring real-time acquisition of their poses. The application can create the XrAnchorBD handle bound to the spatial entity through xrCreateSpatialEntityAnchorBD, and then create the XrSpace from it using xrCreateAnchorSpaceBD, so that the application can obtain its latest pose in real time through xrLocateSpace or xrLocateSpaces.
This function is not supported for all types of sense data providers.
Whether this is supported in a type of sense data provider will be explained
in the extension that defines the specific type of sense data provider.
Otherwise, the runtime must return
XR_ERROR_ANCHOR_NOT_SUPPORTED_FOR_ENTITY_BD.
This handle and associated handles continue to be valid and usable even if the XrSenseDataSnapshotBD used at its creation has since been destroyed.
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.