ExportViewports(string, GraphicsImageExportFormat, GraphicsViewportsExportSettings)

Creates a composite of images exported from each open viewport.

Declaration Syntax

public void ExportViewports(string filePath, GraphicsImageExportFormat format, GraphicsViewportsExportSettings settings)

Parameters

filePath(string)

The output image's file path. Non-existent directories will be created and pre-existing files will be overwritten.

format(GraphicsImageExportFormat)

The 2D image format to use when exporting.

settings(GraphicsViewportsExportSettings)

The settings to use when exporting. The width and height parameters dictate the output image's total size (rather than the subimages' sizes).