Vizard 8 » Command Index » Vizard objects » window » <window>.getCropRect
8.1

<window>.getCropRect

Get the crop rectangle for the window projection matrix

<window>.getCropRect(  
mode = viz.WORLD  
)  
mode = viz.WORLD
One of the following modes:

Mode

Description

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

<window>.setCropRect