captureScreen
captureScreen(
options):string
A PNG data URL of what the player sees: one render from the camera
that draws the game, through its stack, read in the same tick so the
canvas needs no preserved buffer. Everything drawn over the canvas in
the page, the devtools and the HUD among it, stays out; the screen
overlays drawn in the canvas stay in unless overlays is false.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
CaptureOptions & object |
Returns
Section titled “Returns”string