Methods
Screenshot

captureScreenshot

Takes a screenshot of the scene in PNG format.

Example



Usage

JS


Return Value

Promise that resolves to the base64 encoded string of the PNG image.

Type

Promise => String