g.frame
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Framework
Viewer
constructor
camera
camera
Wrap
camera
Wrap
Parent
container
events
modules
Container
renderer
scene
fire
off
on
once
render
set
Current
Viewer
update
get
Context
Hierarchy
EventDispatcher
<
string
>
FrameworkViewer
Index
Constructors
constructor
Properties
camera
camera
Wrap
camera
Wrap
Parent
container
events
modules
Container
renderer
scene
Methods
fire
off
on
once
render
set
Current
Viewer
update
get
Context
Constructors
constructor
new
Framework
Viewer
(
config
:
IViewerConfig
)
:
FrameworkViewer
Parameters
config:
IViewerConfig
Returns
FrameworkViewer
Properties
camera
camera
:
PerspectiveCamera
camera
Wrap
camera
Wrap
:
Object3D
camera
Wrap
Parent
camera
Wrap
Parent
:
Object3D
container
container
:
Element
Protected
events
events
:
Array
<
EventDescriptor
<
string
>
>
modules
Container
modules
Container
:
Object3D
renderer
renderer
:
WebGLRenderer
scene
scene
:
Scene
Methods
fire
fire
(
eventName
:
string
|
Array
<
string
>
, data
?:
ParentEvent
<
string
>
)
:
this
Parameters
eventName:
string
|
Array
<
string
>
Default value
data:
ParentEvent
<
string
>
= new ParentEvent<T>()
Returns
this
off
off
(
eventName
?:
string
, callback
?:
Function
)
:
this
Parameters
Optional
eventName:
string
Optional
callback:
Function
Returns
this
on
on
(
eventName
:
string
, callback1
:
Function
, callback2
?:
Function
)
:
this
Parameters
eventName:
string
callback1:
Function
Optional
callback2:
Function
Returns
this
once
once
(
eventName
:
string
, callback1
:
Function
, callback2
?:
Function
)
:
this
Parameters
eventName:
string
callback1:
Function
Optional
callback2:
Function
Returns
this
render
render
(
)
:
void
Returns
void
set
Current
Viewer
set
Current
Viewer
(
newViewer
?:
ViewerModule
)
:
void
Parameters
Optional
newViewer:
ViewerModule
Returns
void
update
update
(
_time
:
any
, frame
:
any
)
:
void
Parameters
_time:
any
frame:
any
Returns
void
Static
get
Context
get
Context
(
webglCanvas
:
any
)
:
any
Parameters
webglCanvas:
any
Returns
any
Generated using
TypeDoc