Viewer and renderer
Name | Type | Description |
---|---|---|
psv |
PSV.Viewer |
Extends
Members
-
camera external:THREE.PerspectiveCamera protectedreadonly
-
-
-
config PSV.Options readonly inherited overrides
Configuration holder
-
-
mesh external:THREE.Mesh protectedreadonly
-
-
Properties holder
-
-
psv PSV.Viewer readonly inherited overrides
Reference to main controller
-
-
raycaster external:THREE.Raycaster protectedreadonly
-
-
renderer external:THREE.WebGLRenderer protectedreadonly
-
-
scene external:THREE.Scene protectedreadonly
-
Methods
-
Destroys the service
-
-
Hides the viewer
-
-
Performs a render
-
Do not call this method directly, instead call PSV.Viewer#needsUpdate on PSV.event:before-render.
Fires:
-
Applies the overlay to the mesh
-
Name Type Description textureData
PSV.TextureData opacity
number -
Apply a panorama data pose to a Mesh
-
Name Type Default Description panoData
PSV.PanoData optional mesh
external:THREE.Mesh this.mesh optional -
Apply a SphereCorrection to a Mesh
-
Name Type Default Description sphereCorrection
PSV.SphereCorrection optional mesh
external:THREE.Mesh this.meshContainer optional -
Applies the texture to the scene, creates the scene if needed
-
Name Type Description textureData
PSV.TextureData Fires:
-
Shows the viewer
-
-
transition (textureData, options)PSV.utils.Animation package
Performs transition between the current and a new texture
-
Name Type Description textureData
PSV.TextureData options
PSV.PanoramaOptions Returns:
Type Description PSV.utils.Animation