PIXI.LoaderResource.IMetadata
typedef IMetadata
Summary
Properties from IMetadata
HTMLImageElement | HTMLAudioElement | HTMLVideoElement |
|
string | Array<string> |
|
boolean |
|
Public Properties
static loadElement: HTMLImageElement | HTMLAudioElement | HTMLVideoElement = null
The element to use for loading, instead of creating one.
static mimeType: string | Array<string>
The mime type to use for the source element of a video/audio elment. If the urls are an array, you can pass this as an array as well where each index is the mime type to use for the corresponding url index.
static skipSource: boolean = false
Skips adding source(s) to the load element. This
is useful if you want to pass in a loadElement
that you already added load sources to.