name | type | arguments | Default | description |
---|---|---|---|---|
key | string |
The key of the file. Must be unique within both the Loader and the Texture Manager. |
||
textureURL | string | <optional> |
The absolute or relative URL to load the texture image file from. |
|
textureExtension | string | <optional> | 'png' |
The default file extension to use for the image texture if no url is provided. |
textureXhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for the texture image file. |
|
normalMap | string | <optional> |
The filename of an associated normal map. It uses the same path and url to load as the texture image. |
|
atlasURL | string | <optional> |
The absolute or relative URL to load the atlas xml file from. |
|
atlasExtension | string | <optional> | 'xml' |
The default file extension to use for the atlas xml if no url is provided. |
atlasXhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for the atlas xml file. |