Phaser API Documentation

  Version: 
getPoint(position, [output])

Description:

Returns a specific point on the triangle.

Parameters:

name type arguments description
position number

Position as float within 0 and 1. 0 equals the first point.

output object | Phaser.Geom.Point <optional>

Optional Point, or point-like object, that the calculated point will be written to.

Returns:
Description:

Calculated Point that represents the requested position. It is the same as output when this parameter has been given.

Type:
Since: 3.0.0