Vizard 8 » Command Index » Vizard modules » vizmat » <vizmat>.getHorizontalFOV
8.1

<vizmat>.getHorizontalFOV

Get the horizontal FOV given 2 known arguments

<vizmat>.getHorizontalFOV(  
vertical = None  
diagonal = None  
aspectRatio = None  
)  
vertical = None
Vertical FOV in degrees
diagonal = None
Diagonal FOV in degrees
aspectRatio = None
Horizontal to vertical aspect ratio

Remarks

Returns the horizontal FOV given any 2 of the available arguments.

Return Value

Horizontal FOV in degrees

Example

print(vizmat.getHorizontalFOV(vertical=40, aspectRatio=1.6))

See also

<vizmat>.getAspectRatio
<vizmat>.getDiagonalFOV
<vizmat>.getVerticalFOV