C Specification
The XrRaycastInfoANDROID structure is defined as:
// Provided by XR_ANDROID_raycast
typedef struct XrRaycastInfoANDROID {
XrStructureType type;
const void* next;
uint32_t maxResults;
uint32_t trackerCount;
const XrTrackableTrackerANDROID* trackers;
XrVector3f origin;
XrVector3f trajectory;
XrSpace space;
XrTime time;
} XrRaycastInfoANDROID;
Members
Description
The XrRaycastInfoANDROID structure describes the ray to cast.
-
The XrRaycastInfoANDROID::
trackersarray may contain trackers of different types. -
The XrRaycastInfoANDROID::
trackersarray must not contain multiple trackers of the same type, otherwise the runtime must returnXR_ERROR_VALIDATION_FAILURE.
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
Copyright 2014-2025 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.