Initialize the WWT engine and launch its rendering loop.
The id
of the DOM element into which the WWT WebGL surface
will be inserted.
A handle to a ScriptInterface associated with this engine instance.
The engine is not immediately usable since it must perform initialization that includes fetching resources from the network.
Initialize the WWT engine with defaults.
The same as initControl6, with startLat
and startLng
defaulting to
0, startZoom
defaulting to 360, and startMode
defaulting to "Sky"
.
Initialize the WWT engine.
The id
of the DOM element into which the WWT WebGL surface
will be inserted.
If true, the engine's internal rendering loop will be launched immediately.
The starting declination or latitude for the view, in degrees.
The starting longitude or right ascension for the view, in degrees.
The starting zoom level for the view.
The starting mode for the view: one of "earth"
or
"Sky"
.
A handle to a ScriptInterface associated with this engine instance.
The engine is not immediately usable since it must perform initialization that includes fetching resources from the network.
If the value of startMode
is not recognized, Sky mode is assumed.
Additional variants of this function, taking additional arguments, may be added over time. Existing versions will be preserved to maintain backwards compatibility.
Generated using TypeDoc
The global WWTControl singleton instance.