name | type | arguments | Default | description |
---|---|---|---|---|
key | string |
The key of the file. Must be unique within both the Loader and the Texture Manager. |
||
atlasURL | string | <optional> |
The absolute or relative URL to load the multi atlas json file from. Or, a well formed JSON object. |
|
url | string | <optional> |
An alias for 'atlasURL'. If given, it overrides anything set in 'atlasURL'. |
|
atlasExtension | string | <optional> | 'json' |
The default file extension to use for the atlas json if no url is provided. |
atlasXhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for the atlas json file. |
|
path | string | <optional> |
Optional path to use when loading the textures defined in the atlas data. |
|
baseURL | string | <optional> |
Optional Base URL to use when loading the textures defined in the atlas data. |
|
textureXhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for the texture files. |