Settings in place of those saved in the local storage, or of the defaults.
See ViewerOptions.
ReadonlybehaviorReadonlycommandReadonlydeveloperReadonlyobjectHandle the history of object states
ReadonlysceneReadonlysceneReadonlysettingsViewer settings
ReadonlysettingsKey of settings in the local storage (ViewerOptions.settingsStorageKey).
ReadonlysignalsSignals emitted by the viewer
ReadonlyviewportThe view on the scene: camera, controls, gizmo, operators. Made with the viewer, it draws once
mounted on a canvas (viewport.mount(canvas)).
Returns an iterator over the keys of the registered plugins.
Returns on iterator over the registered plugins.
Returns the viewer version defined in package.json
Permanently releases the viewer and every resource it owns.
Calling this method more than once has no effect. A disposed viewer must not be reused.
Returns the plugin identified with its key.
Key of a plugin's settings in the local storage, next to the viewer's.
Returns whether the given plugin (identified with its key) has been registered in the viewer
Asks the viewport for a frame, once mounted (see Renderer.requestFrame).
Saves the settings of the viewer and of its plugins in the local storage.
Unregisters the plugin from the viewer. The plugins depending on it are unregistered first, recursively, while their dependencies are still registered.
The plugin key.
Base class that handles data and events of a 3D scene.