Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Curves.Spline
toJSON()
Description:
Exports a JSON object containing this curve data.
Returns:
Description:
The JSON object containing this curve data.
Type:
Phaser.Types.Curves.JSONCurve
Since:
3.0.0
Source:
src/curves/SplineCurve.js
(Line
178
)
Possible examples