Optional camera?: Camera | nullThe camera to use for the screenshot. If not provided, the main camera of the context will be used.
Optional context?: Pick<Context, "renderer" | "mainCamera" | "renderNow" | "updateAspect" | "updateSize">The context to take the screenshot from. If not provided, the current context will be used.
Optional height?: numberThe height of the screenshot - if not provided, the height of the current renderer will be used.
Optional mimeThe mime type of the image
Optional transparent?: booleanIf true, the background will be transparent.
Optional width?: numberThe width of the screenshot - if not provided, the width of the current renderer will be used.
Options for the screenshot2 function.