Parses a Texture Atlas JSON Hash and adds the Frames to the Texture. JSON format expected to match that defined by Texture Packer, with the frames property containing an object of Frames.
name | type | description |
---|---|---|
texture | Phaser.Textures.Texture |
The Texture to add the Frames to. |
sourceIndex | number |
The index of the TextureSource. |
json | object |
The JSON data. |
The Texture modified by this parser.