Draws all Curves in the Path to a Graphics Game Object.
name | type | arguments | Default | description |
---|---|---|---|---|
graphics | Phaser.GameObjects.Graphics |
The Graphics Game Object to draw to. |
||
pointsTotal | number | <optional> | 32 |
The number of points to draw for each Curve. Higher numbers result in a smoother curve but require more processing. |
The Graphics object which was drawn to.