# ViewerOptions

class `cee.``ViewerOptions`()

  Rendering options for a `Viewer`

  Examples of the different highlight modes:

Constructors

- `constructor`

Properties

- `alphaChannel`
- `antiAliasing`
- `enableTransparencyWBOIT`
- `forceWebGL1`
- `globalAmbientIntensity`
- `globalDefaultSpecularIntensity`
- `highlightMode`
- `preserveDrawingBuffer`
- `useOperators`
- `wboitMode`

## Constructors

`ViewerOptions.``constructor`()

  Return type: | ViewerOptions

## 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.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Web or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...