C Specification

The XrSpatialEntityComponentDataSphereBD structure is defined as:

// Provided by XR_BD_spatial_sensing
typedef struct XrSpatialEntityComponentDataSphereBD {
    XrStructureType    type;
    void*              next;
    XrSpheref          sphere;
} XrSpatialEntityComponentDataSphereBD;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain.

  • sphere is an XrSpheref defining the center position and orientation and the radius of a sphere bounds relative to the spatial entity.

Description

The XrSpatialEntityComponentDataSphereBD is an output struct for getting the sphere component data from an entity in the snapshot. This corresponds to an XrSpatialEntityComponentTypeBD value of XR_SPATIAL_ENTITY_COMPONENT_TYPE_SPHERE_BD.

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