Function: exportFramePNG()
exportFramePNG(
scene,options?):Promise<Blob>
Defined in: src/export/FrameExporter.ts:131
Export a single frame as a PNG Blob.
When time is given, the scene seeks to it (which renders the frame) before
capture. Otherwise the current frame is captured as-is.
Parameters
scene
ExportableScene
The scene to capture
options?
Capture options
Returns
Promise<Blob>
A Promise that resolves to the frame Blob