Vizard 7 » Command Index » Vizard modules » viz » <viz>.fov
7.6

<viz>.fov

Sets the vertical field of view and the window aspect ratio

<viz>.fov(  
vertFOV  
h2vRatio = viz.AUTO_COMPUTE  
)  
vertFOV
Specifies the vertical field of view for the main window in degrees.
h2vRatio = viz.AUTO_COMPUTE
Specifies the horizontal to vertical aspect ratio of the main window.

If viz.AUTO_COMPUTE, the aspect ratio will be automatically set to the size of the window.

Remarks

Use this command to modify the perspective transformation properties of the main window.

Return Value

None

Example

viz.fov(50, 1.333)

See also

<viz>.clip
<viz>.ipd