ReadonlyeventReadonlyeventReadonlyeventCan be used to enable permanent rendering (mainly for debugging purpose). Disabling the on-demand rendering will also disable MSAA.
Static ReadonlyMAX_Static ReadonlyPOINTER_true if the viewer is currently creating a screenshot
Can be used to disable the rendering. Nested calls are supported.
Creates a screenshot and returns it as data uri or blob.
Creates a screenshot and returns it as data uri or blob.
Creates a screenshot and returns it as data uri or blob.
Creates a screenshot and returns it as data uri or blob.
OptionalpIOViewer: Viewer | nullCan be used to re-enable the rendering. Nested calls are supported.
Forces immediate/synchronous rendering of the scene. This function should be used with care. Under normal circumstances requestRenderFrame() should be used instead.
Has to be called if the viewer should render the scene. (e.g. after the camera has changed)
Resets the camera settings of the view.
Resizes the gl context to fit the current container/canvas size.
If true the resize will be performed immediately otherwise it will be delayed in order to merge consecutive resize() calls. (default: false)
If false the
wheelevent will not be handled. Camera zoom in/out will be disabled in this case and default page scrolling will be performed instead. (default: true)