Open topic with navigation
<vizmat>.getAspectRatio
Get the aspect ratio given 2 known arguments
| <vizmat>.getAspectRatio( |
|
| vertical = None |
| horizontal = None |
| diagonal = None |
| ) |
|
vertical = None
Vertical FOV in degrees
horizontal = None
Horizontal FOV in degrees
diagonal = None
Diagonal FOV in degrees
Remarks
Returns the aspect ratio given any 2 of the available arguments.
Return Value
Horizontal to vertical aspect ratio
Example
print(vizmat.getAspectRatio(vertical=40, horizontal=60))
See also