Libovr 1.43 Reference Guide

ovrFovPort Struct Reference

Describes the up, down, left, and right angles of the field of view.

Data Fields

float
UpTan ( )
Tangent of the angle between the viewing vector and top edge of the FOV.
float
DownTan ( )
Tangent of the angle between the viewing vector and bottom edge of the FOV.
float
LeftTan ( )
Tangent of the angle between the viewing vector and left edge of the FOV.
float
Tangent of the angle between the viewing vector and right edge of the FOV.

Detailed Description

Field Of View (FOV) tangent of the angle units.
Note:
For a standard 90 degree vertical FOV, we would have: { UpTan = tan(90 degrees / 2), DownTan = tan(90 degrees / 2) }.

Field Documentation

float ovrFovPort::UpTan ( )
Tangent of the angle between the viewing vector and top edge of the FOV.
float ovrFovPort::DownTan ( )
Tangent of the angle between the viewing vector and bottom edge of the FOV.
float ovrFovPort::LeftTan ( )
Tangent of the angle between the viewing vector and left edge of the FOV.
float ovrFovPort::RightTan ( )
Tangent of the angle between the viewing vector and right edge of the FOV.
The documentation for this struct was generated from the following file: Include/OVR_CAPI.h