requestContext¶
Function requestContext
- requestContext(
name: string,
settings?: {
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;
dynamicClippingDistance?: any;
dynamicClippingEnabled?: any;
dynamicCOREnabled?: 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;
initialFit?: any;
initialStateActivation?: any;
initView?: 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;
preferXHRWithCredentials?: any;
preSelectionColor?: 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;
},
): Promise<ContextAPI | undefined> Parameters
- name: string
Specifies the name of the context
Optional
settings: {
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;
dynamicClippingDistance?: any;
dynamicClippingEnabled?: any;
dynamicCOREnabled?: 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;
initialFit?: any;
initialStateActivation?: any;
initView?: 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;
preferXHRWithCredentials?: any;
preSelectionColor?: 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;
} = {}Specifies the settings for the context
Returns Promise<ContextAPI | undefined>
- name: string
Requests a new Context with the specified name and settings