new CubePanorama(images [, edgeLength])
Cubemap-based panorama
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
images |
array | An array of cubetexture containing six images | ||
edgeLength |
number |
<optional> |
10000 | The length of cube's edge |
- Source:
Methods
-
load()
-
Load 6 images and bind listeners
- Source:
-
onLoad(texture)
-
This will be called when 6 textures are ready
Parameters:
Name Type Description texture
THREE.CubeTexture Cube texture - Source: