Phaser API Documentation

  Version: 
<static> fromJSON(data)

Description:

Imports a JSON object containing this curve data.

Parameters:

name type description
data Phaser.Types.Curves.JSONCurve

The JSON object containing this curve data.

Returns:
Description:

The spline curve created.

Since: 3.0.0