mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Fix #5098
This commit is contained in:
parent
a2c8f3df2a
commit
745ad037fe
1 changed files with 5 additions and 7 deletions
|
@ -16,13 +16,11 @@ var TextFile = require('../../../src/loader/filetypes/TextFile.js');
|
|||
* @typedef {object} Phaser.Loader.FileTypes.SpineFileConfig
|
||||
*
|
||||
* @property {string} key - The key of the file. Must be unique within both the Loader and the Texture Manager.
|
||||
* @property {string} [textureURL] - The absolute or relative URL to load the texture image file from.
|
||||
* @property {string} [textureExtension='png'] - The default file extension to use for the image texture if no url is provided.
|
||||
* @property {XHRSettingsObject} [textureXhrSettings] - Extra XHR Settings specifically for the texture image file.
|
||||
* @property {string} [normalMap] - The filename of an associated normal map. It uses the same path and url to load as the texture image.
|
||||
* @property {string} [atlasURL] - The absolute or relative URL to load the atlas data file from.
|
||||
* @property {string} [atlasExtension='txt'] - The default file extension to use for the atlas data if no url is provided.
|
||||
* @property {XHRSettingsObject} [atlasXhrSettings] - Extra XHR Settings specifically for the atlas data file.
|
||||
* @property {string|string[]} [jsonURL] - The absolute or relative URL to load the JSON file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
|
||||
* @property {string} [atlasURL] - The absolute or relative URL to load the texture atlas data file from. If undefined or `null` it will be set to `<key>.txt`, i.e. if `key` was "alien" then the URL will be "alien.txt".
|
||||
* @property {boolean} [preMultipliedAlpha=false] - Do the textures contain pre-multiplied alpha or not?
|
||||
* @property {XHRSettingsObject} [jsonXhrSettings] - An XHR Settings configuration object for the json file. Used in replacement of the Loaders default XHR Settings.
|
||||
* @property {XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas data file. Used in replacement of the Loaders default XHR Settings.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue