new ImagePanorama(image [, radius])
Equirectangular based image panorama
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
image |
string | Image url or HTMLImageElement | ||
radius |
number |
<optional> |
5000 | Radius of panorama |
- Source:
Methods
-
load(src)
-
Load image asset
Parameters:
Name Type Description src
* Url or image element - Source:
-
onLoad(texture)
-
This will be called when image is loaded
Parameters:
Name Type Description texture
THREE.Texture Texture to be updated - Source: