Saves the image as it currently exists in the active viewport. To get the best quality, this should be called after the renderComplete event has fired.
"inCanvasRendering_var" is a variable referencing an InCanvasRendering object.
|
"inCanvasRendering_var" is a variable referencing an InCanvasRendering object.
|
Type | Description |
boolean | Returns true if the save was successful. |
Name | Type | Description |
filename | string | The filename to save the image to. This must be the full path. The file extension can be .png, .jpg, .jpeg, or .tiff and the file will be saved as that type. The size of the image is dependent on the size of the viewport and the current specified aspect ratio. |