Phaser.Types.Renderer.Snapshot

Scope: static

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

Static functions

SnapshotCallback

SnapshotCallback

Parameters:

name

type

optional

description

snapshot

Phaser.Display.Color | HTMLImageElement

No

Either 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


Updated on