Fit To View

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 straighforward:

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.


Here’s how to do the same in JavaScript:

var params = {
    padding : 0.1,
    keepAspect : false