Function: exportAndDownloadPNG()
exportAndDownloadPNG(
scene,filename,options?):Promise<void>
Defined in: src/export/FrameExporter.ts:246
Convenience helper: capture one PNG frame and download it.
Parameters
scene
ExportableScene
The scene to capture
filename
string = 'frame.png'
The target filename. Defaults to 'frame.png'.
options?
Capture options
Returns
Promise<void>