HDRCubeTextureAssetTask

Description

class HDRCubeTextureAssetTask extends AbstractAssetTask

Constructor

new HDRCubeTextureAssetTask(name, url, size, undefined, noMipmap, generateHarmonics, useInGammaSpace, usePMREMGenerator)

Parameters

Name Type Description
name string
url string
optional size number or undefined
optional noMipmap boolean
optional generateHarmonics boolean
optional useInGammaSpace boolean

Members

name : string

url : string

size : number

undefined : undefined

noMipmap : boolean

generateHarmonics : boolean

useInGammaSpace : boolean

usePMREMGenerator : boolean

texture : HDRCubeTexture

onSuccess : (task: HDRCubeTextureAssetTask) => void

Parameters

Name Type Description
task HDRCubeTextureAssetTask

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

Parameters

Name Type Description
task HDRCubeTextureAssetTask
optional message string
optional exception any

Methods

run(scene, onSuccess, onError) void

Parameters

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