The child resources this resource owns.
Is this request cross-origin? If unset, determined automatically.
The data that was loaded by the resource.
The error that occurred while loading (if any).
The extension used to load this resource.
Describes if this resource has finished loading. Is true when the resource has completely loaded.
Stores whether or not this url is a data url.
Describes if this resource is currently loading. Is true when the resource starts loading, and is false again when complete.
The method of loading to use for this resource.
Data that can be added for loading resources.
The name of this resource.
Dispatched after this resource has had all the after middleware run on it.
The callback looks like {@link Resource.OnCompleteSignal}.
Dispatched once this resource has loaded, if there was an error it will
be in the error
property.
The callback looks like {@link Resource.OnCompleteSignal}.
Dispatched each time progress of this resource load updates. Not all resources types and loader systems can support this event so sometimes it may not be available. If the resource is being loaded on a modern browser, using XHR, and the remote server properly sets Content-Length headers, then this will be available.
The callback looks like {@link Resource.OnProgressSignal}.
Dispatched when the resource beings to load.
The callback looks like {@link Resource.OnStartSignal}.
The progress chunk owned by this resource.
Reference to Spritesheet object created.
Texture reference for loading images and other textures.
Dictionary of textures from Spritesheet.
A timeout in milliseconds for the load. If the load takes longer than this time
it is cancelled and the load is considered a failure. If this value is set to 0
then there is no explicit timeout.
The resource type.
The url used to load this resource.
The XHR object that was used to load this resource. This is only set
when loadType
is Resource.LOAD_TYPE.XHR
.
The type used to load the resource via XHR. If unset, determined automatically.
Aborts the loading of this resource, with an optional message.
The message to use for the error
Marks the resource as complete.
Kicks off loading of this resource. This method is asynchronous.
Generated using TypeDoc
PixiJS' base Loader resource type. This is a superset of the resource-loader's Resource class and contains any mixins for extending.
PIXI