Adds a Canvas Element to a Texture.
name | type | description |
---|---|---|
texture | Phaser.Textures.Texture |
The Texture to add the Frames to. |
sourceIndex | number |
The index of the TextureSource. |
The Texture modified by this parser.