Skip to content

View

An export view with its own camera. Get it from Model.activeView. Changing its camera doesn’t move the camera in the desktop window.

camera: Camera

The view’s camera. Assign a Camera to change it.

writeImage(filename, options?): void

Renders the committed model to a PNG file. Existing files are overwritten; the folder must exist. Call it outside operations. Throws RangeError for invalid arguments and ModelError when rendering or writing fails.

string

ImageOptions

void