Class ImagePanorama

First you should add kokomi.Viewer, which automatically adds proper camera and orbitControls to your scene. Then load your image asset with kokomi.AssetManager. After this, you can use kokomi.ImagePanorama to get the panorama scene and add it to the viewer.

Hierarchy (view full)

Constructors

Properties

active: boolean
base: Base
container: Scene
emitter: Emitter<any>
id: string
infospots: Html[]
isInfospotVisible: boolean
material: MeshBasicMaterial
mesh: Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

Methods