CLASSES
TagsA - Z

HDRCubeTextureAssetTask

Description

class HDRCubeTextureAssetTask

Constructor

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

Parameters

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

Members

name : string

url : string

size : number

noMipmap : boolean

generateHarmonics : boolean

useInGammaSpace : boolean

usePMREMGenerator : boolean

onSuccess : (task: IAssetTask) => void

onError : (task: IAssetTask) => void

isCompleted : boolean

texture : HDRCubeTexture

Methods

run(scene, onSuccess, onError) → void

Parameters

Name Type Description
scene Scene
onSuccess () => void
onError () => void