Selva Compute API Reference - v1.5.1
Preparing search index...
visualization
initThree
Function initThree
initThree
(
canvas
:
HTMLCanvasElement
,
options
?:
ThreeInitializerOptions
,
)
:
{
camera
:
PerspectiveCamera
;
clearSelection
:
()
=>
void
;
controls
:
OrbitControls
;
dispose
:
()
=>
void
;
fitToView
:
()
=>
void
;
renderer
:
WebGLRenderer
;
scene
:
Scene
;
}
Initializes a Three.js environment with scene, camera, renderer, and event handling.
Parameters
canvas
:
HTMLCanvasElement
Optional
options
:
ThreeInitializerOptions
Returns
{
camera
:
PerspectiveCamera
;
clearSelection
:
()
=>
void
;
controls
:
OrbitControls
;
dispose
:
()
=>
void
;
fitToView
:
()
=>
void
;
renderer
:
WebGLRenderer
;
scene
:
Scene
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Selva Compute API Reference - v1.5.1
Loading...
Initializes a Three.js environment with scene, camera, renderer, and event handling.