Skip to main content
Version: Phaser v3.88.2

Phaser.Types.Renderer.Snapshot

Scope: static

Source: src/renderer/snapshot/typedefs/index.js#L7

Static functions

SnapshotCallback

SnapshotCallback

Parameters:

nametypeoptionaldescription
snapshotPhaser.Display.Color | HTMLImageElementNoEither a Color object if a single pixel is being grabbed, or a new Image which contains a snapshot of the canvas contents.

Source: src/renderer/snapshot/typedefs/SnapshotCallback.js#L1
Since: 3.16.1


SnapshotState

SnapshotState

Source: src/renderer/snapshot/typedefs/SnapshotState.js#L1
Since: 3.16.1