Constructor
new ImagePanorama(image)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
image |
string | Image url or HTMLImageElement |
Methods
dispose()
- Source:
Dispose
load(src)
- Source:
Load image asset
Parameters:
Name | Type | Description |
---|---|---|
src |
* | Url or image element |
onLoad(texture)
- Source:
This will be called when image is loaded
Parameters:
Name | Type | Description |
---|---|---|
texture |
THREE.Texture | Texture to be updated |
reset()
- Source:
Reset