Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Animations.AnimationFrame
toJSON()
Description:
Generates a JavaScript object suitable for converting to JSON.
Returns:
Description:
The AnimationFrame data.
Type:
Phaser.Types.Animations.JSONAnimationFrame
Since:
3.0.0
Source:
src/animations/AnimationFrame.js
(Line
150
)
Possible examples