takeScreenshot
Last updated
Last updated
This method generates a screenshot(image/png) of the current camera view with a height of 2160px, or you can specify your own, while preserving the aspect ratio of the current canvas. The return data is the url from the generated image.
height
The height which the screenshot will have
number
Usage:
Return value: