ViewerOptions
-
class
cee.
ViewerOptions
() Rendering options for a
Viewer
Examples of the different highlight modes:
Constructors
Properties
Properties
-
ViewerOptions.
alphaChannel
Type: boolean optional If true, the drawing buffer will have an alpha channel which can be useful for compositing with the page or for retrieving transparent image snapshots. Default false
-
ViewerOptions.
antiAliasing
Type: boolean optional Use anti aliasing. Default true
-
ViewerOptions.
enableTransparencyWBOIT
Type: boolean optional Whether to enable high quality transparency using a technique called “Weighted Blended Order-Independent Transparency”
-
ViewerOptions.
forceWebGL1
Type: boolean optional This option can be used to force usage of WebGL 1 instead of WebGL2. Default false
-
ViewerOptions.
globalAmbientIntensity
Type: number optional Specify the global ambient intensity
-
ViewerOptions.
globalDefaultSpecularIntensity
Type: number optional Specify the global default specular intensity
-
ViewerOptions.
highlightMode
Type: HighlightMode optional Whether to enable highlighting of parts using a halo
-
ViewerOptions.
preserveDrawingBuffer
Type: boolean optional preserveDrawingBuffer
-
ViewerOptions.
useOperators
Type: boolean optional This option enable the use of Operators for input handling and UI
-
ViewerOptions.
wboitMode
Type: WBOITMode optional - Specify how to render opaque parts when there are transparent parts in the scene and
- enableTransparencyWBOIT is enabled.