CubeTextureAssetTask

Description

class CubeTextureAssetTask extends AbstractAssetTask

Constructor

new CubeTextureAssetTask(name, url, extensions, undefined, noMipmap, undefined, files, undefined)

Parameters

Name Type Description
name string
url string
optional extensions string[] or undefined
optional noMipmap boolean or undefined

Members

name : string

url : string

extensions : string[]

undefined : undefined

noMipmap : boolean

undefined : undefined

files : string[]

undefined : undefined

texture : CubeTexture

onSuccess : (task: CubeTextureAssetTask) => void

Parameters

Name Type Description
task CubeTextureAssetTask

onError : (task: CubeTextureAssetTask, message: string, exception: any) => void

Parameters

Name Type Description
task CubeTextureAssetTask
optional message string
optional exception any

Methods

runTask(scene, onSuccess, onError) void

Parameters

Name Type Description
scene Scene
onSuccess
onError optional message string
optional exception any