* Sets the mask that this Game Object will use to render with. * * The mask must have been previously created and must be a GeometryMask. * This only works in the Canvas Renderer. * In WebGL, use a Mask filter instead (see {@link P
(mask: Phaser.Display.Masks.GeometryMask)
| 19548 | * @returns This Game Object instance. |
| 19549 | */ |
| 19550 | setMask(mask: Phaser.Display.Masks.GeometryMask): this; |
| 19551 | /** |
| 19552 | * Clears the mask that this Game Object was using. |
| 19553 | * |