Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

captureView

captureView(view, viewCaptureOptions): string

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. Width and height set the aspect, and the size through a stack.

Parameter Type
view MapView
viewCaptureOptions ViewCaptureOptions

string