Phaser API Documentation

  Version: 

Member of: Phaser.Curves.Path

getCurveAt(t)

Description:

Returns the Curve that forms the Path at the given normalized location (between 0 and 1).

Parameters:

name type description
t number

The normalized location on the Path, between 0 and 1.

Returns:
Description:

The Curve that is part of this Path at a given location, or null if no curve was found.

Since: 3.60.0
Source: src/curves/path/Path.js (Line 472)