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
Parameters
onError : (task: HDRCubeTextureAssetTask, message: string, exception: any) => void
Parameters
Methods
run(scene, onSuccess, onError) → void
Parameters
|
Name |
Type |
Description |
|
scene |
Scene |
|
|
onSuccess |
|
|
|
onError |
optional |
message |
string |
|
optional |
exception |
any |
|