Phaser API Documentation

  Version: 
setSmoothness(value)

Description:

Sets the smoothness of the curve. The number of points used when rendering it. Increase this value for smoother curves, at the cost of more polygons being rendered. This call can be chained.

Parameters:

name type description
value number

The value to set the smoothness to.

Returns:
Description:

This Game Object instance.

Since: 3.13.0