C Specification
The XrSpaceLocations structure is defined as:
// Provided by XR_VERSION_1_1
typedef struct XrSpaceLocations {
XrStructureType type;
void* next;
uint32_t locationCount;
XrSpaceLocationData* locations;
} XrSpaceLocations;
Members
Description
The XrSpaceLocations structure contains an array of space locations in
the member locations, to be used as output for xrLocateSpaces.
The application must allocate this array to be populated with the function
output.
The locationCount value must be the same as
XrSpacesLocateInfo::spaceCount, otherwise, the
xrLocateSpaces function must return
XR_ERROR_VALIDATION_FAILURE.
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.