C Specification
The XrSpatialEntityComponentDataBoundingBox2DBD structure is defined as:
// Provided by XR_BD_spatial_sensing
typedef struct XrSpatialEntityComponentDataBoundingBox2DBD {
    XrStructureType    type;
    void*              next;
    XrRect2Df          boundingBox2D;
} XrSpatialEntityComponentDataBoundingBox2DBD;Members
The XrSpatialEntityComponentDataBoundingBox2DBD is an output struct
for getting the bounding box 2D component data from the snapshot.
This corresponds to an XrSpatialEntityComponentTypeBD value of
XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_2D_BD.
Description
The x-axis and y-axis that describe boundingBox2D are defined by the
spatial entity’s coordinate space.
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.