Phaser API Documentation

  Version: 
<static> fromJSON(data)

Description:

Generates a curve from a JSON object.

Parameters:

name type description
data Phaser.Types.Curves.JSONCurve

The JSON object containing this curve data.

Returns:
Description:

The curve generated from the JSON object.

Since: 3.0.0