Home > @modelo.io/api > Viewer360

Viewer360 class

A viewer that displays a 3D panorama.

Signature:

export default class Viewer360 extends Viewer3D 

Constructors

ConstructorDescription
(constructor)(containerId, config)Constructor a 3D panorama viewer.

Methods

MethodDescription
destroy()Destroy the viewer.
dumpScreen(width, height, bgColor)Capture current frame of the canvas to the image.
getCameraInfo()
getCurrentCamera()
loadPano(panoId, configOrOnProgress)Load a panorama into current viewer.
loadPanos(data, configOrOnProgress)Load panoramas into current viewer.