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.
This enum contains all the setting keys that are used to read, change and reset the settings of a specific viewer.
For every setting key, its default value can be found here, as well as the type of the value.
Please note, that a list of general, webvis context related settings can be found in the SettingStrings enum.
Furthermore, please notice the difference between context and viewer level settings, as described in the ViewerAPI.
Defines whether the screen space anti-aliasing is enabled or not.
Fast approximate anti-aliasing (FXAA) is used to smooth the edges of the rendered geometry.
Compared to temporal anti-aliasing (TAA), FXAA has a lower quality but also a lower performance impact.
Defines whether the random colorize effect is enabled or not.
The random colorize effect applies a different color to every instance of resource.
For monolithic models, you will only have one color. For models with linked parts,
those linked parts will have different colors.
Defines the factor by which volumes are scaled with during double-click animations,
affecting the zoom level and the area that the camera will focus on.
Defines whether the dynamic contrast for auxiliary geometries is enabled or not.
If enabled, this will change the color of AUX nodes based on the contrast with the
background for better legibility.
Defines whether dynamic clipping is enabled or not.
Every part that is closer to the camera than the value defined in
DYNAMIC_CLIPPING_DISTANCE will be clipped.
Defines whether the dynamic center of rotation (COR) is enabled or not.
If disabled, the center of rotation will always be the origin.
If enabled, the center of rotation will be the point at which the user
clicked when starting the rotation (only applies if the user clicked on
the geometry).
Defines whether or not a subtree should be expanded to the leaf
when selected in the viewer.
Usually, users can only select parts that are currently known to webvis. By
expanding a node (that has linked parts associated to it), its child nodes
will be downloaded and can be selected in the viewer.
Changing this setting to true will automatically expand the
parent nodes and select the leaf node that was clicked.
Value Type
boolean
Default
false
FACE_HIGHLIGHT_COLOR
FACE_HIGHLIGHT_COLOR:"faceHighlightColor"
Defines the color to be used to indicate faces in the 3D view
that are highlighted via the ViewerHighlightAPI (for
instance during a measurement).
Defines the factor for view fitting.
The factor defines the percentage of the screen that should be
covered at maximum by the geometry, per axis. The larger value of
the two axes (x and y) will be used. A value of 0.6 for instance
means that the geometry will cover at most 60% of the screen both
horizontally and vertically.
Defines whether or not to fit the camera to the clicked node on double-click.
Value Type
boolean
Default
false
FOCUS_ON_DOUBLE_CLICK
FOCUS_ON_DOUBLE_CLICK:"focusOnDoubleClick"
Defines whether a viewer should focus on a part on double-click.
Value Type
boolean
Default
true
FRUSTUM_CULLING
FRUSTUM_CULLING:"frustumCulling"
Defines whether camera frustum culling is enabled or not.
If enabled, parts not visible by the camera will be excluded from
rendering to improve performance.
Value Type
boolean
Default
true
ExperimentalGHOSTED_SCENE_OPACITY
GHOSTED_SCENE_OPACITY:"ghostedSceneOpacity"
Defines the opacity of the ghosted scene for the geometry that is not
occluded by the main scene.
Defines whether or not to fit the view to all visible models when
a node's ENABLED property changes. If active,
it also refits when new 3D data is being streamed in.
Please note that once the view is updated afterwards,
for instance by moving the camera, and at any mouse down event, the
initial fit will be disabled. To re-enable it, the setting has to be
set again.
Defines the sampling factor (viewport scale) during navigation.
This setting is meant as an optional optimization that allows for
rendering in a lower resolution during navigation.
Value Type
number
Default
1
NAVIGATION_SPEED_FACTOR
NAVIGATION_SPEED_FACTOR:"navigationSpeedFactor"
Defines the navigation speed factor (sensitivity).
Defines the color to be used to indicate the parts the
user is interacting with in the 3D scene. This color is
used for highlighting parts once the user has clicked on
them and before the selection is active.
Sets the overall opacity of the rendered scene.
This setting is useful in XR applications to allow the user to see tracked
real world objects behind the rendered scene.
Possible values range from 0.0 to 1.0, where 1.0 means the scene is
fully opaque and 0.0 means the scene is fully transparent.
Defines whether software occlusion culling is enabled or not.
Before downloading a resource, the viewer will check if the resource
is occluded by other geometry which is already rendered. If this is
the case, the resource will not be downloaded.
Value Type
boolean
Default
true
SPACEMOUSE_MULTIPLIER
SPACEMOUSE_MULTIPLIER:"spacemouseMultiplier"
Defines the multiplier used to adjust the space mouse sensitivity.
Value Type
number
Default
7
SSAO_ENABLED
SSAO_ENABLED:"ssaoEnabled"
Defines whether screen space ambient occlusion (SSAO) is enabled or not.
Value Type
boolean
Default
false
TAA_ENABLED
TAA_ENABLED:"taaEnabled"
Defines whether temporal anti-aliasing (TAA) is enabled or not.
TAA is only available in static scenes. It is disabled in the following cases:
During camera movement, due to the camera not being static. This means TAA is not available in AR.
While downloads are active, the scene must be redrawn every time a new object is loaded.
If GPU memory/CPU time is exceeded, it is not possible to render the whole scene in a single frame. Applying TAA becomes too complex in this case.
TAA will automatically be re-enabled once the scene is static again.
Defines whether the canvas should be scaled by the window.devicePixelRatio
or not. Enabling this setting is necessary to compensate for the DPI scaling
of the system / monitor. Enabling this setting will improve the visual quality
on high DPI monitors but can decrease performance.
Value Type
boolean
Default
false
VERTEX_COLORS_ENABLED
VERTEX_COLORS_ENABLED:"vertexColorsEnabled"
Defines whether vertex colors are enabled or not.
If enabled and the model contains vertex colors, the vertex colors will be used
for rendering. Furthermore, the node's Property.APPEARANCE_URI will be
ignored. Thus, if the user wants to change the node's appearance in this case,
this setting has to be disabled first.
This enum contains all the setting keys that are used to read, change and reset the settings of a specific viewer. For every setting key, its default value can be found here, as well as the type of the value.
Please note, that a list of general, webvis context related settings can be found in the SettingStrings enum.
Furthermore, please notice the difference between context and viewer level settings, as described in the ViewerAPI.
Example
See