<static> JSONData(game, json) → {
x : number X position within the image to cut from. Source code:
spriteSourceSizeW : number Width of the trimmed sprite. Source code:
game : Phaser.Game A reference to the currently running Game
index : number The index of this Frame within the FrameData set it is being added to.
[readonly] total : number The total number of frames in this FrameData set.
next(quantity) Advances by the given number of frames in the Animation, taking the loop value into consideration
setTrim(trimmed, actualWidth, actualHeight, destX, destY, destWidth, destHeight) If the frame was trimmed when added to the Texture
name : string Useful for Texture Atlas files (is set to the filename value). Source
destroy() Destroys this FrameData collection by nulling the _frames and _frameNames arrays.
Page 2 of 11