Open topic with navigation
<window>.getCropRect
Get the crop rectangle for the window projection matrix
<window>.getCropRect( |
|
mode = viz.WORLD |
) |
|
mode = viz.WORLD
One of the following modes:
viz.WORLD | Get the crop rectangle for the world projection matrix. |
viz.ORTHO | Get the crop rectangle for the orthographic projection matrix. |
Remarks
This command will return the crop rectangle of the window projection matrix in normalized (0-1) units. See
<window>.setCropRect for more information.
Return Value
[left, bottom, right, top]
See also