SettingsAPI#
Interface SettingsAPI
Hierarchy
- SettingsAPI
Methods
change
- changeSetting<T>(setting, value): boolean 
- 
Changes the setting to the given value. Type Parameters- 
T extends string
 Parameters- 
setting: TA name that specifies a particular setting 
- 
value: ContextSettingType<T>The new value for the setting 
 Returns booleanA boolean which indicates if the setting has changed 
- 
import
- importConfig(config): void 
- 
Applies the specified set of settings to the context. Parameters- 
config: {
 aaSetting: any;
 additionalCookies: any;
 additionalRequestHeaders: any;
 additionalWSQueryParameters: any;
 applicationIdentifier: any;
 auxModeRecursiveSearch: any;
 auxModeUncolorFacesOnLeave: any;
 backgroundColor: any;
 boosterURL: any;
 cappingEffectEdgeColor: any;
 cappingEffectEnabled: any;
 cappingEffectInnerColor: any;
 cappingGeometryColor: any;
 colorComparisonFirstColor: any;
 colorComparisonMatchingColor: any;
 colorComparisonSecondColor: any;
 colorizeEffect: any;
 contextMenuFunction: any;
 coordSys: any;
 defaultFieldOfView: any;
 defaultQueryLinkDepth: any;
 disableDefaultInteraction: any;
 disableSpecularHighlights: any;
 doubleClickAnimationVolumeScale: any;
 doubleClickTimeWindow: any;
 drawingArrowheadEnd: any;
 drawingArrowheadStart: any;
 drawingColor: any;
 drawingMode: any;
 drawingSize: any;
 dynamicAuxContrastEnabled: any;
 dynamicCOREnabled: any;
 dynamicClippingDistance: any;
 dynamicClippingEnabled: any;
 expandOnViewerSelection: any;
 faceHighlightColor: any;
 faceSelectionColor: any;
 fitViewFactor: any;
 flyNavigationSpeed: any;
 flyToOnDoubleClick: any;
 focusOnDoubleClick: any;
 frontPlaneAxis: any;
 frustumCulling: any;
 ghostedSceneOpacity: any;
 gizmoScalingFactor: any;
 gizmosEnabled: any;
 gpuMemoryReleaseFactor: any;
 hoverColor: any;
 hubURL: any;
 initView: any;
 initialFit: any;
 initialStateActivation: any;
 lightingEnvironment: any;
 lineHighlightColor: any;
 lineSelectionColor: any;
 loadRemoteConfigFile: any;
 logLevel: any;
 maxActiveSceneVolumeDiameter: any;
 maxConcurrentDownloads: any;
 maxDynamicClipDistance: any;
 maxGPUMemory: any;
 maxSRCCPUMemory: any;
 measurementAngularTolerance: any;
 measurementMaterialDensities: any;
 mouseInvertZoomingDirection: any;
 navigationMode: any;
 navigationSampling: any;
 navigationSpeedFactor: any;
 navigationSpeedThrottleFactor: any;
 notificationLogLevels: any;
 outlineColor: any;
 outlineColorOccluded: any;
 outlineInnerRadius: any;
 outlineOuterRadius: any;
 parentSelectEnabled: any;
 preSelectionColor: any;
 preferXHRWithCredentials: any;
 projectionType: any;
 renderAuxOnTop: any;
 renderMode: any;
 renderSetup: any;
 screenSpaceCoverageCalculationMethod: any;
 selectionColor: any;
 sessionDeviceTags: any;
 sessionForwardUrl: any;
 sessionInteractions: any;
 sessionMemberName: any;
 showAuxOnNavigation: any;
 silhouetteEffect: any;
 silhouetteEffectColor: any;
 silhouetteEffectExclusiveEnabled: any;
 skipSslVerify: any;
 smallFeatureCulling: any;
 smallFeaturePixelThreshold: any;
 snapshotContentSelection: any;
 soc: any;
 spacemouseMultiplier: any;
 ssaoEnabled: any;
 taaEnabled: any;
 topoGeometryColor: any;
 topoGeometrySecondaryColor: any;
 topoPointsEnabled: any;
 turntableLowerVerticalLimit: any;
 turntableUpperVerticalLimit: any;
 turntableVerticalLimitsEnabled: any;
 uriMap: any;
 useDevicePixelRatio: any;
 vertexColorsEnabled: any;
 viewPerspective: any;
 webglPreserveDrawingbuffer: any;
 xrEnableDebugImages: any;
 xrFusionMode: any;
 xrImageCompressionQuality: any;
 xrImageResolutionProfile: any;
 xrModelTrackerQualityThreshold: any;
 xrModelTrackerSmoothingFactor: any;
 }Settings to import - 
aaSetting: any 
- 
additionalCookies: any 
- 
additionalRequest Headers: any 
- 
additionalWSQueryParameters: any 
- 
applicationIdentifier: any 
- 
auxMode Recursive Search: any 
- 
auxMode Uncolor Faces On Leave: any 
- 
backgroundColor: any 
- 
boosterURL: any
- 
cappingEffect Edge Color: any 
- 
cappingEffect Enabled: any 
- 
cappingEffect Inner Color: any 
- 
cappingGeometry Color: any 
- 
colorComparison First Color: any 
- 
colorComparison Matching Color: any 
- 
colorComparison Second Color: any 
- 
colorizeEffect: any 
- 
contextMenu Function: any 
- 
coordSys: any 
- 
defaultField Of View: any 
- 
defaultQuery Link Depth: any 
- 
disableDefault Interaction: any 
- 
disableSpecular Highlights: any 
- 
doubleClick Animation Volume Scale: any 
- 
doubleClick Time Window: any 
- 
drawingArrowhead End: any 
- 
drawingArrowhead Start: any 
- 
drawingColor: any 
- 
drawingMode: any 
- 
drawingSize: any 
- 
dynamicAux Contrast Enabled: any 
- 
dynamicCOREnabled: any
- 
dynamicClipping Distance: any 
- 
dynamicClipping Enabled: any 
- 
expandOn Viewer Selection: any 
- 
faceHighlight Color: any 
- 
faceSelection Color: any 
- 
fitView Factor: any 
- 
flyNavigation Speed: any 
- 
flyTo On Double Click: any 
- 
focusOn Double Click: any 
- 
frontPlane Axis: any 
- 
frustumCulling: any 
- 
ghostedScene Opacity: any 
- 
gizmoScaling Factor: any 
- 
gizmosEnabled: any 
- 
gpuMemory Release Factor: any 
- 
hoverColor: any 
- 
hubURL: any
- 
initView: any 
- 
initialFit: any 
- 
initialState Activation: any 
- 
lightingEnvironment: any 
- 
lineHighlight Color: any 
- 
lineSelection Color: any 
- 
loadRemote Config File: any 
- 
logLevel: any 
- 
maxActive Scene Volume Diameter: any 
- 
maxConcurrent Downloads: any 
- 
maxDynamic Clip Distance: any 
- 
maxGPUMemory: any
- 
maxSRCCPUMemory: any
- 
measurementAngular Tolerance: any 
- 
measurementMaterial Densities: any 
- 
mouseInvert Zooming Direction: any 
- 
navigationMode: any 
- 
navigationSampling: any 
- 
navigationSpeed Factor: any 
- 
navigationSpeed Throttle Factor: any 
- 
notificationLog Levels: any 
- 
outlineColor: any 
- 
outlineColor Occluded: any 
- 
outlineInner Radius: any 
- 
outlineOuter Radius: any 
- 
parentSelect Enabled: any 
- 
preSelection Color: any 
- 
preferXHRWithCredentials: any 
- 
projectionType: any 
- 
renderAux On Top: any 
- 
renderMode: any 
- 
renderSetup: any 
- 
screenSpace Coverage Calculation Method: any 
- 
selectionColor: any 
- 
sessionDevice Tags: any 
- 
sessionForward Url: any 
- 
sessionInteractions: any 
- 
sessionMember Name: any 
- 
showAux On Navigation: any 
- 
silhouetteEffect: any 
- 
silhouetteEffect Color: any 
- 
silhouetteEffect Exclusive Enabled: any 
- 
skipSsl Verify: any 
- 
smallFeature Culling: any 
- 
smallFeature Pixel Threshold: any 
- 
snapshotContent Selection: any 
- 
soc: any
- 
spacemouseMultiplier: any 
- 
ssaoEnabled: any 
- 
taaEnabled: any 
- 
topoGeometry Color: any 
- 
topoGeometry Secondary Color: any 
- 
topoPoints Enabled: any 
- 
turntableLower Vertical Limit: any 
- 
turntableUpper Vertical Limit: any 
- 
turntableVertical Limits Enabled: any 
- 
uriMap: any 
- 
useDevice Pixel Ratio: any 
- 
vertexColors Enabled: any 
- 
viewPerspective: any 
- 
webglPreserve Drawingbuffer: any 
- 
xrEnable Debug Images: any 
- 
xrFusion Mode: any 
- 
xrImage Compression Quality: any 
- 
xrImage Resolution Profile: any 
- 
xrModel Tracker Quality Threshold: any 
- 
xrModel Tracker Smoothing Factor: any 
 
- 
 Returns void
- 
read
reset
- resetSetting(setting): void 
- 
Resets the value of a setting to the installation default. Parameters- 
setting: ViewerSettingStrings | SettingStringsThe name of the setting that should be reset. 
 Returns void
- 
The SettingsAPI provides basic functionalities to configure the 3D Space.