Phaser API Documentation

  Version: 

Member of: Phaser.Curves.Path

splineTo(points)

Description:

Creates a spline curve starting at the previous end point, using the given points on the curve.

Parameters:

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

The points the newly created spline curve should consist of.

Returns:
Description:

This Path object.

Since: 3.0.0
Source: src/curves/path/Path.js (Line 763)