captureView
captureView(
view,__namedParameters):string
Defined in: packages/engine/src/views/entity/screenshot.ts:80
A PNG data URL of the scene from a bookmarked camera: one render from a camera built for the view; the next frame draws the player’s again. The capture is the canvas’s size; width and height set the aspect.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
view |
MapView |
__namedParameters |
ViewCaptureOptions |
Returns
Section titled “Returns”string