Description
The XR_REFERENCE_SPACE_TYPE_VIEW or VIEW reference space tracks the
view origin used to generate view transforms for the primary viewer (or
centroid of view origins if stereo), with +Y up, +X to the right, and -Z
forward.
This space points in the forward direction for the viewer without
incorporating the user’s eye orientation, and is not gravity-aligned.
The VIEW space is primarily useful when projecting from the user’s
perspective into another space to obtain a targeting ray, or when rendering
small head-locked content such as a reticle.
Content rendered in the VIEW space will stay at a fixed point on
head-mounted displays and may be uncomfortable to view if too large.
To obtain the ideal view and projection transforms to use each frame for
rendering world content, applications should call xrLocateViews
instead of using this space.
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-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.