Fit to View Tool

This tool helps you zoom the camera exactly to the scene, minimizing the space around it. Click the magnification glass icon in the toolbar, or select Fit to View from the Tools menu.

User Interface

The user interface is pretty straightforward:

Boxshot fit to view tool user interface

The Padding slider controls how much space to leave around the scene. The Keep Aspect Ratio box controls what to do with the scene proportions.

Click the OK when you happy with the results or Cancel if you need something else.

Scripting

Here’s how to do the same in JavaScript:

var params = {
    padding : 0.1,
    keepAspect : false
};
tools.fitToView(params);