C Specification

The XrSpatialEntityComponentDataLocationBD structure is defined as:

// Provided by XR_BD_spatial_sensing
typedef struct XrSpatialEntityComponentDataLocationBD {
    XrStructureType    type;
    void*              next;
    XrSpaceLocation    location;
} XrSpatialEntityComponentDataLocationBD;

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.

  • location is the XrSpaceLocation structure.

Description

The XrSpatialEntityComponentDataLocationBD is an output struct for getting the location component data from the snapshot. This corresponds to an XrSpatialEntityComponentTypeBD value of XR_SPATIAL_ENTITY_COMPONENT_TYPE_LOCATION_BD. The application must chain XrSpatialEntityLocationGetInfoBD to XrSpatialEntityComponentGetInfoBD::next when querying XrSpatialEntityComponentDataLocationBD. Otherwise, the runtime must return XR_ERROR_VALIDATION_FAILURE from xrGetSpatialEntityComponentDataBD.

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.