Optional
context: ContextThe context to take the screenshot from
Optional
width: numberThe width of the screenshot
Optional
height: numberThe height of the screenshot
The mime type of the image
Optional
camera: null | CameraThe camera to use for the screenshot
The data url of the screenshot. Returns null if the screenshot could not be taken.
Take a screenshot from the current scene.
NOTE: Use screenshot2 for more options.