Static methods

@:value({ rootPath : null })staticfromBytes(bytes:Bytes, ?rootPath:String):PackedAssetLibrary

@:value({ rootPath : null })staticfromFile(path:String, ?rootPath:String):PackedAssetLibrary

@:value({ rootPath : null })staticloadFromBytes(bytes:Bytes, ?rootPath:String):Future<PackedAssetLibrary>

@:value({ rootPath : null })staticloadFromFile(path:String, ?rootPath:String):Future<PackedAssetLibrary>

Constructor

new(id:String, type:String)

Methods

Inherited Variables

Defined by AssetLibrary

@:value(new Event<Void>())onChange:_Event_Void_Void<() ‑> Void> = new Event<Void>()

Inherited Methods

Defined by AssetLibrary

exists(id:String, type:String):Bool

getAsset(id:String, type:String):Dynamic

getPath(id:String):String

list(type:String):Array<String>

loadAsset(id:String, type:String):Future<Dynamic>