MCPcopy
hub / github.com/phaserjs/phaser / clearMask

Method clearMask

types/phaser.d.ts:19559–19559  ·  view source on GitHub ↗

* Clears the mask that this Game Object was using. * * This only works in the Canvas Renderer. * In WebGL, use a Mask filter instead (see Phaser.GameObjects.Components.FilterList#addMask). * @param destroyMask Destroy the m

(destroyMask?: boolean)

Source from the content-addressed store, hash-verified

19557 * @returns This Game Object instance.
19558 */
19559 clearMask(destroyMask?: boolean): this;
19560 /**
19561 * Creates and returns a Geometry Mask. This mask can be used by any Game Object,
19562 * including this one.

Callers 2

BaseCamera.test.jsFile · 0.80
Mask.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected