Phaser API Documentation

  Version: 
addPoints(points)

Description:

Add a list of points to the current list of Vector2 points of the curve.

Parameters:

name type description
points Array.<number> | Array.<Array.<number>> | Array.<Phaser.Math.Vector2>

The points that configure the curve.

Returns:
Description:

This curve object.

Since: 3.0.0
Source: src/curves/SplineCurve.js (Line 51)