C Specification

The XrSpatialEntityComponentDataBoundingBox3DBD structure is defined as:

// Provided by XR_BD_spatial_sensing
typedef struct XrSpatialEntityComponentDataBoundingBox3DBD {
    XrStructureType    type;
    void*              next;
    XrBoxf             boundingBox3D;
} XrSpatialEntityComponentDataBoundingBox3DBD;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • boundingBox3D is an XrBoxf defining the center position and orientation and the extent of a bounding box 3D relative to its spatial entity’s location.

The XrSpatialEntityComponentDataBoundingBox3DBD is an output struct for getting the bounding box 3D component data from an entity in the snapshot. This corresponds to an XrSpatialEntityComponentTypeBD value of XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_3D_BD.

Description

The x-axis, y-axis, and z-axis that describe boundingBox3D are defined by the spatial entity’s coordinate space.

Valid Usage (Implicit)

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.