C Specification
Field of view (FoV) is defined by the structure:
typedef struct XrFovf {
float angleLeft;
float angleRight;
float angleUp;
float angleDown;
} XrFovf;
Members
Description
Angles to the right of the center and upwards from the center are positive, and angles to the left of the center and down from the center are negative.
The total horizontal field of view is angleRight
minus angleLeft
, and the total vertical field of view is angleUp
minus angleDown
.
For a symmetric FoV, angleRight
and angleUp
will have positive values, angleLeft
will be -angleRight
, and angleDown
will be -angleUp
.
The angles must be specified in radians.
See Also
Document Notes
For more information, see the OpenXR Specification at URL
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.