Optional
ambientEnable ambient occlusion.
Optional
antialiasingEnable anti-aliasing using FXAA.
Optional
cameraEnable camera animation.
Optional
cameraCamera speed on X axis.
Optional
cameraCamera speed on Y axis.
Optional
cuttingCutting planes fill color.
Show the edges of the model:
false
- No model edges are displayed. Usefull for less memory consumption.true
- Display isolines.Optional
edgesEdges highlight color.
Optional
edgesShow highlighted edges over drawing.
Optional
edgesShow highlighted edges.
Optional
enableEnable custom highlight settings.
Enable touch gestures.
This option will be ignored when mouse wheel zooming is disabled, since gestures contains touch zoom.
Optional
enableEnable partial streaming mode to be able open large drawing.
In partial streaming mode, the viewer keeps only visible objects in memory and loads other objects when the camera changes.
Only used if streaming is enabled. If partial streaming is enabled, then scene graph will be disabled.
Optional
enableEnable streaming of drawings from the server.
If streaming is disabled, the file/assembly will be loaded in one go. The viewer will only update once the loading is complete, which may take a while.
If streaming is enabled, partial streaming mode may be enabled as well.
Enable mouse wheel zooming.
Optional
facesFaces highlight color.
Optional
facesShow highlighted faces over drawing.
Optional
facesHighlighted faces transparency value, from 0 to 255.
Optional
geometryDeprecated since 25.8
.
Optional
groundShow ground shadows below the model.
Optional
memoryThe size of the memory buffer for graphics data, in bytes.
Optional
resetResets options to default values.
Optional
fields: string[]Name of fields to be reset.
Reverse the mouse wheel direction for zooming:
false
- Moving the wheel up zooms in, moving down zooms out.true
- Moving the wheel up zooms out, moving down zooms in.Ruler unit.
Available values: Default, Millimeters, Centimeters, Meters, Feet, Inches, Yards, Kilometers, Miles, Micrometers, MicroInches
Enable scene graph.
Scene graph increases perfomance improvement, but consumes memory. If scene graph is enabled, then partial streaming mode will be disabled.
Optional
shadowsEnable ambient shadows.
Optional
showWCSShow the world coordinate system axes in the bottom-left corner of the viewer.
Viewer options interface.