LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::XRViewPose Struct Reference

Pose and projection parameters for a single XR view sampled at frame begin. More...

#include <XRSystemFlags.h>

Public Attributes

float orientation [4] = { 0.0f, 0.0f, 0.0f, 1.0f }
 View orientation as a unit quaternion (x, y, z, w).
float position [3] = { 0.0f, 0.0f, 0.0f }
 View position in meters relative to the session's reference space (x, y, z).
float fovAngleLeft = 0.0f
 Left edge of the projection frustum in radians (negative for left of forward).
float fovAngleRight = 0.0f
 Right edge of the projection frustum in radians.
float fovAngleUp = 0.0f
 Top edge of the projection frustum in radians.
float fovAngleDown = 0.0f
 Bottom edge of the projection frustum in radians (negative below forward).

Detailed Description

Pose and projection parameters for a single XR view sampled at frame begin.

See also
XRFrameState::views

Member Data Documentation

◆ fovAngleDown

float LLGL::XRViewPose::fovAngleDown = 0.0f

Bottom edge of the projection frustum in radians (negative below forward).

◆ fovAngleLeft

float LLGL::XRViewPose::fovAngleLeft = 0.0f

Left edge of the projection frustum in radians (negative for left of forward).

◆ fovAngleRight

float LLGL::XRViewPose::fovAngleRight = 0.0f

Right edge of the projection frustum in radians.

◆ fovAngleUp

float LLGL::XRViewPose::fovAngleUp = 0.0f

Top edge of the projection frustum in radians.

◆ orientation

float LLGL::XRViewPose::orientation[4] = { 0.0f, 0.0f, 0.0f, 1.0f }

View orientation as a unit quaternion (x, y, z, w).

◆ position

float LLGL::XRViewPose::position[3] = { 0.0f, 0.0f, 0.0f }

View position in meters relative to the session's reference space (x, y, z).


The documentation for this struct was generated from the following file: