PIXI.LoaderResource.IMetadata

typedef IMetadata

Summary


Properties from IMetadata

HTMLImageElement | HTMLAudioElement | HTMLVideoElement
static loadElement = null
string | Array<string>
static mimeType
boolean
static skipSource = false

Public Properties


loadElement LoaderResource.ts:434
static loadElement: HTMLImageElement | HTMLAudioElement | HTMLVideoElement = null

The element to use for loading, instead of creating one.

mimeType LoaderResource.ts:434
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.

skipSource LoaderResource.ts:434
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.


Powered by webdoc!