This command will set the canvas to render in perspective mode on top of the specified
window. The resolution of the canvas will automatically adjust to match the size of the window. The projection matrix will adjust so that the vertical
fov fills up the entire height of the screen. This mode is useful if you want to apply rotations to GUI elements and have them render in proper perspective.
This mode is typically used in non-stereo desktop interaction scenarios.
The default render mode of the canvas is world overlay, with the following settings:
canvas.setRenderWorldOverlay([1280,720], fov=50.0, distance=3.0)