Open topic with navigation
<window>.fov
This action sets the vertical field of view and aspect ratio of a window
<window>.fov( |
|
vertFOV |
h2vRatio = viz.AUTO_COMPUTE |
) |
|
vertFOV
Specifies the vertical field of view for the subwindow in degrees.
h2vRatio = viz.AUTO_COMPUTE
Specifies the horizontal to vertical aspect ratio of the subwindow.
If viz.AUTO_COMPUTE, the aspect ratio will be automatically set to the size of the window.
Remarks
Use this action to modify the perspective transformation properties of the subwindow.
Return Value
None
Example
viz.MainWindow.fov(50, 1.333)
See also