- Source: src/loader/filetypes/index.js (Line 7)
Classes
- AnimationJSONFile
- AsepriteFile
- AtlasJSONFile
- AtlasXMLFile
- AudioFile
- AudioSpriteFile
- BinaryFile
- BitmapFontFile
- CSSFile
- GLSLFile
- HTML5AudioFile
- HTMLFile
- HTMLTextureFile
- ImageFile
- JSONFile
- MultiAtlasFile
- MultiScriptFile
- OBJFile
- PackFile
- PluginFile
- SceneFile
- ScenePluginFile
- ScriptFile
- SpineFile
- SpriteSheetFile
- SVGFile
- TextFile
- TilemapCSVFile
- TilemapImpactFile
- TilemapJSONFile
- UnityAtlasFile
- VideoFile
- XMLFile
Type Definitions
-
SpineFileConfig
-
Type:
- object
- Source: plugins/spine/src/SpineFile.js (Line 15)
Properties:
Name Type Argument Default Description key
string The key of the file. Must be unique within both the Loader and the Texture Manager.
jsonURL
string | Array.<string> <optional>
The absolute or relative URL to load the JSON file from. If undefined or
null
it will be set to<key>.json
, i.e. ifkey
was "alien" then the URL will be "alien.json".atlasURL
string <optional>
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. ifkey
was "alien" then the URL will be "alien.txt".preMultipliedAlpha
boolean <optional>
false Do the textures contain pre-multiplied alpha or not?
jsonXhrSettings
XHRSettingsObject <optional>
An XHR Settings configuration object for the json file. Used in replacement of the Loaders default XHR Settings.
atlasXhrSettings
XHRSettingsObject <optional>
An XHR Settings configuration object for the atlas data file. Used in replacement of the Loaders default XHR Settings.