Base adapters class
| Name | Type | Description |
|---|---|---|
psv |
PSV.Viewer |
Members
-
Unique identifier of the adapter
-
-
-
psv PSV.Viewer readonly
Reference to main controller
-
-
Indicates if the adapter supports panorama download natively
-
-
Indicated if the adapter can display an additional transparent image above the panorama
-
Methods
-
-
createMesh (scale)external:THREE.Mesh abstract
Creates the cube mesh
-
Name Type Default Description scalenumber 1 optional Returns:
Type Description external:THREE.Mesh -
Destroys the adapter
-
-
Clear a loaded texture from memory
-
Name Type Description textureDataPSV.TextureData -
loadTexture (panorama, newPanoData, useXmpPanoData)Promise.<PSV.TextureData> abstract
Loads the panorama texture(s)
-
Name Type Description panorama* newPanoDataPSV.PanoData | PSV.PanoDataProvider optional useXmpPanoDataboolean optional Returns:
Type Description Promise.<PSV.TextureData> -
Applies the overlay to the mesh
-
Name Type Description meshexternal:THREE.Mesh textureDataPSV.TextureData opacitynumber -
Applies the texture to the mesh
-
Name Type Default Description meshexternal:THREE.Mesh textureDataPSV.TextureData transitionboolean false optional -
Changes the opacity of the mesh
-
Name Type Description meshexternal:THREE.Mesh opacitynumber -
Indicates if the adapter supports preload of a panorama
-
Name Type Description panorama* Returns:
Type Description boolean -
Indicates if the adapter supports transitions between panoramas
-
Name Type Description panorama* Returns:
Type Description boolean