Phaser API Documentation

  Version: 
getPointAt(u, [out])

Description:

Retrieves the point at given position in the curve. This will always return this curve's only point.

Parameters:

name type arguments description
u number

The position in the path to retrieve, between 0 and 1. Not used.

out Phaser.Math.Vector2 <optional>

An optional vector in which to store the point.

Returns:
Description:

The modified out vector, or a new Vector2 if none was provided.

Examples:
Since: 3.0.0
Source: src/curves/path/MoveTo.js (Line 69)