Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

ViewerStateΒΆ

Enumeration ViewerState

The ViewerState describes the current state of a Viewer. The ViewerState is grouped by the ViewerStateCategory which can be discovered by dividing the State by 1000.

 const category : ViewerStateCategory = Math.floor(viewerState / 1000);

Enumeration Members

CREATED: 1000

Indicates that the Viewer is created

ERROR: 5000

Indicates a general Error that doesn't match any of the specific ones.

ERROR_WEBGL_CONTEXT_LOST: 5001

Indicates that the Viewer lost the webGL Context. This can happen when your browser decides that your applications uses too many resources.

READY: 3000

Indicates that the Viewer is ready to use.

SETUP: 2000

Indicates that the Viewer is currently setting up the render pipeline.

WARNING: 4000

Indicates a general Warning that doesn't match any of the specific ones.

WARNING_LOW_PERFORMANCE: 4001

Indicates that the Viewer is running without hardware acceleration. This may result in a degraded performance. Please check the browser settings to enable hardware acceleration.