CLASSES
TagsA - Z

ImageAssetTask

Assets

Description

class ImageAssetTask extends AbstractAssetTask

Constructor

new ImageAssetTask(name, url)

Parameters

Name Type Description
name string
url string

Members

name : string

url : string

image : HTMLImageElement

Methods

runTask(scene, onSuccess, onError) void

Parameters

Name Type Description
scene Scene
onSuccess () => void
onError (message: string, exception: any) => void