Phaser API Documentation

  Version: 
setShape(graphicsGeometry)

Description:

Sets a new Graphics object for the Geometry Mask.

Parameters:

name type description
graphicsGeometry Phaser.GameObjects.Graphics

The Graphics object which will be used for the Geometry Mask.

Returns:
Description:

This Geometry Mask

Since: 3.0.0