Parses the 'key' parameter and returns a Texture Frame instance.
It can accept the following formats:
name | type | description |
---|---|---|
key | string | array | object | Phaser.Textures.Texture | Phaser.Textures.Frame |
The key to be parsed. |
A Texture Frame object, if found, or undefined if not.