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. |
|
fontDataURL | string | <optional> |
The absolute or relative URL to load the font data xml file from. |
|
fontDataExtension | string | <optional> | 'xml' |
The default file extension to use for the font data xml if no url is provided. |
fontDataXhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for the font data xml file. |