getTextureFrame(key) → {Phaser.Frame}
Get a single texture frame by key.
You'd only do this to get the default Frame created for a non-atlas / spritesheet image.
Parameters
Name | Type | Description |
---|---|---|
key | string | The key of the asset to retrieve from the cache. |
Returns
The frame data.
- Source code: loader/Cache.js (Line 1121)
Please login to continue.