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

captureEntity

captureEntity(entity, options): string | undefined

A PNG data URL of the scene framed on the entity, or undefined where it has no object to frame. One render from a copy of the camera; the next frame draws the player’s view again.

Parameter Type
entity Entity
options CaptureOptions

string | undefined