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"
or "black"
.
A handle to a ScriptInterface associated with this engine instance.
Generated using TypeDoc
Initialize the WWT engine.
While this function is maintained for backwards compatibility, modern users should use the WWTControlBuilder class to initialize and instantiate the engine.
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.