Vizard 7 » Command Index » Vizard objects » window » <window>.getProjectionMatrix
7.7

<window>.getProjectionMatrix

Returns projection matrix

<window>.getProjectionMatrix(  
eye = viz.BOTH_EYE  
)  
eye = viz.BOTH_EYE
The eye to retrieve the projection matrix from. Can be viz.BOTH_EYE, viz.LEFT_EYE, or viz.RIGHT_EYE.

Remarks

This command will return a Transform object representing the current 4x4 projection matrix of the window.

Return Value

A viz.Transform object