Phaser API Documentation

  Version: 

Member of: Phaser.Curves.Curve

getPointAt(u, [out])

Description:

Get a point at a relative position on the curve, by arc length.

Parameters:

name type arguments description
u number

The relative position, [0..1].

out Phaser.Math.Vector2 <optional>

A point to store the result in.

Returns:
Description:

The point.

Examples:
Since: 3.0.0
Source: src/curves/Curve.js (Line 278)