pixi.loaders.AssetLoader
- type
- class
- extends
- pixi.utils.EventTarget
- metadata
- :native
- "PIXI.AssetLoader"
Constructor
- parameters
{Array<String>}
assetURLs an array of image/sprite sheet urls that you would like loaded supported. Supported image formats include 'jpeg', 'jpg', 'png', 'gif'. Supported sprite sheet data formats only include 'JSON' at this time. Supported bitmap font data formats include 'xml' and 'fnt'.
[crossorigin]
{Bool} Whether requests should be treated as crossorigin
- parameters
str
{String} the name of the asset
- parameters
eventName
{String} The name of the event.
data
{Dynamic}
- returns
- {Bool} Indication if we've emitted an event.
- parameters
eventName
{String} The events that should be listed.
- returns
- {Array} An array of listener functions
- parameters
eventName
{String} The event we want to remove.
callback
{Function} The listener that we need to find.
- parameters
eventName
{String} Name of the event.
callback
{Functon} Callback function.
- parameters
eventName
{String} Name of the event.
callback
{Function} Callback function.
- parameters
eventName
{String} The event you want to remove all listeners for.