Function: exportAndDownloadSVG()
exportAndDownloadSVG(
scene,filename,options?):void
Defined in: src/export/SvgExporter.ts:335
Convenience helper: export a scene as SVG and download it.
Guards the DOM: it throws a clear error when no document is available
(for example in a worker or during server-side use).
Parameters
scene
The scene to export
filename
string = 'scene.svg'
The target filename. Defaults to 'scene.svg'.
options?
Export options
Returns
void