Preparing search index...
The search index is not available
kokomi.js
kokomi.js
Viewer
Class Viewer
A viewer for viewing panoramas.
Hierarchy (
view full
)
Component
Viewer
Index
Constructors
constructor
Properties
base
camera
container
current
Panorama
emitter
orbit
Controls
panoramas
Methods
add
add
Existing
emit
off
on
set
Panorama
update
Constructors
constructor
new
Viewer
(
base
,
config
?
)
:
Viewer
Parameters
base
:
Base
config
:
Partial
<
ViewerConfig
>
= {}
Returns
Viewer
Properties
base
base
:
Base
camera
camera
:
PerspectiveCamera
container
container
:
Scene
current
Panorama
current
Panorama
:
null
|
BasicPanorama
emitter
emitter
:
Emitter
<
any
>
orbit
Controls
orbit
Controls
:
OrbitControls
panoramas
panoramas
:
BasicPanorama
[]
Methods
add
add
(
panorama
)
:
void
Parameters
panorama
:
BasicPanorama
Returns
void
add
Existing
add
Existing
(
)
:
void
Returns
void
emit
emit
(
type
,
event
?
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
off
off
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
on
on
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
set
Panorama
set
Panorama
(
panorama
,
duration
?
)
:
void
Parameters
panorama
:
BasicPanorama
duration
:
number
= 0.5
Returns
void
update
update
(
time
)
:
void
Parameters
time
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
camera
container
current
Panorama
emitter
orbit
Controls
panoramas
Methods
add
add
Existing
emit
off
on
set
Panorama
update
kokomi.js
Loading...
A viewer for viewing panoramas.