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