Constructor
new StereoImagePanorama(src, stereoopt)
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
src |
string | image source |
||
stereo |
number |
<optional> |
new Stereo()
|
stereo mixin |
Methods
dispose()
- Source:
Dispose
onLoad(texture)
- Source:
This will be called when texture is ready
Parameters:
Name | Type | Description |
---|---|---|
texture |
THREE.Texture | Image texture |
updateTextureToLeft()
- Source:
Update Texture for Stereo Left Eye
updateTextureToRight()
- Source:
Update Texture for Stereo Right Eye