hasFrameData(key, cache) → {boolean}
Check if the FrameData for the given key exists in the Image Cache.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
key | string | Asset key of the frame data to retrieve from the Cache. | ||
cache | integer | <optional> | Phaser.Cache.IMAGE | The cache to search for the item in. |
Returns
boolean -
True if the given key has frameData in the cache, otherwise false.
- Source code: loader/Cache.js (Line 1501)
Please login to continue.