Phaser API Documentation

  Version: 

Member of: Phaser.Curves.Path

getPoints([divisions])

Description:

Get a sequence of points on the path.

Parameters:

name type arguments Default description
divisions number <optional> 12

The number of divisions per resolution per curve.

Returns:
Description:

An array of Vector2 objects that containing the points along the Path.

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