OptionalbackgroundBackground for the capture: 'transparent', or a solid color. Default: the live scene background.
OptionalformatEncoded image type (default 'image/png').
OptionalheightOutput height in pixels (default: the current drawing-buffer height).
OptionalincludeInclude the build-volume group (grid + bed surface + origin + cage) in the capture. Default true
(the live view). Set false to exclude it for the off-screen render only — with
background:'transparent' this yields a clean toolpath-only cutout (parity with ModelRenderer
thumbnails), without disturbing the live view. Honored by the 3D toolpath renderer and, since DD-032,
by the model viewer, where it hides the build plate and its contact shadow (a model viewer with no
buildVolume has nothing to hide). A no-op where there is no capture (the 2D renderer).
OptionalqualityQuality 0..1 for lossy formats (jpeg/webp); ignored for png.
OptionalwidthOutput width in pixels (default: the current drawing-buffer width).
Options for an interactive view capture. All optional; sensible defaults match the live view.