getFrameByName(key, name, cache) → {Phaser.Frame}
Get a single frame out of a frameData set by key.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
key | string | Asset key of the frame data to retrieve from the Cache. | ||
name | string | The name of the frame you want to get. | ||
cache | integer | <optional> | Phaser.Cache.IMAGE | The cache to search. One of the Cache consts such as |
Returns
The frame object.
- Source code: loader/Cache.js (Line 1560)
Please login to continue.