getBaseTexture(key, cache) → {PIXI.BaseTexture}
Gets a PIXI.BaseTexture by key from the given Cache.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
key | string | Asset key of the image for which you want the BaseTexture for. | ||
cache | integer | <optional> | Phaser.Cache.IMAGE | The cache to search for the item in. |
Returns
The BaseTexture object.
- Source code: loader/Cache.js (Line 1426)
Please login to continue.