Skip to main content

Type Alias: SetSceneInputCanvas()

SetSceneInputCanvas: (canvas) => Promise<void>

Use this to set new canvas as target for all interactions. You can only manipulate one canvas at a time so this should be your primary canvas in most cases.

Parameters

canvas: HTMLCanvasElement

Canvas element to attach events to

Returns

Promise<void>