
########
Instance
########

.. js:class:: Sc.Instance

   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~Sc.Instance.allowHighDpi`
   * :js:data:`~Sc.Instance.canvas`
   * :js:data:`~Sc.Instance.containers`
   * :js:data:`~Sc.Instance.Image`
   * :js:data:`~Sc.Instance.Matrix`
   * :js:data:`~Sc.Instance.MeshData`
   * :js:data:`~Sc.Instance.MeshDataBuilder`
   * :js:data:`~Sc.Instance.MeshInstance`
   * :js:data:`~Sc.Instance.Overlay`
   * :js:data:`~Sc.Instance.wrappers`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Sc.Instance._loseWebGlContext`
   * :js:meth:`~Sc.Instance.addCuttingSection`
   * :js:meth:`~Sc.Instance.addDrawContext`
   * :js:meth:`~Sc.Instance.addLight`
   * :js:meth:`~Sc.Instance.advanceExportToSvg`
   * :js:meth:`~Sc.Instance.advanceVolumeSelection`
   * :js:meth:`~Sc.Instance.attachModels`
   * :js:meth:`~Sc.Instance.attachScsBuffer`
   * :js:meth:`~Sc.Instance.attachScsModelByKey`
   * :js:meth:`~Sc.Instance.beginConvexPolyhedronSelection`
   * :js:meth:`~Sc.Instance.beginExportToSvg`
   * :js:meth:`~Sc.Instance.beginRayDrillSelection`
   * :js:meth:`~Sc.Instance.beginScreenAreaSelection`
   * :js:meth:`~Sc.Instance.beginSphereSelection`
   * :js:meth:`~Sc.Instance.clearLights`
   * :js:meth:`~Sc.Instance.createFloorplanMesh`
   * :js:meth:`~Sc.Instance.cuttingSectionLimits`
   * :js:meth:`~Sc.Instance.debug_log`
   * :js:meth:`~Sc.Instance.debug_stateFailure`
   * :js:meth:`~Sc.Instance.debug_sync`
   * :js:meth:`~Sc.Instance.demandMeshInstances`
   * :js:meth:`~Sc.Instance.detachInclusions`
   * :js:meth:`~Sc.Instance.disableCapping`
   * :js:meth:`~Sc.Instance.disconnectNetwork`
   * :js:meth:`~Sc.Instance.enableCapping`
   * :js:meth:`~Sc.Instance.endComparison`
   * :js:meth:`~Sc.Instance.endVolumeSelection`
   * :js:meth:`~Sc.Instance.explode`
   * :js:meth:`~Sc.Instance.exportToSvg`
   * :js:meth:`~Sc.Instance.feedScsBuffer`
   * :js:meth:`~Sc.Instance.flushMetaDataCache`
   * :js:meth:`~Sc.Instance.getAmbientOcclusionEnabled`
   * :js:meth:`~Sc.Instance.getAmbientOcclusionRadius`
   * :js:meth:`~Sc.Instance.getBackFacesVisible`
   * :js:meth:`~Sc.Instance.getBackgroundGradient`
   * :js:meth:`~Sc.Instance.getCamera`
   * :js:meth:`~Sc.Instance.getCameraPromise`
   * :js:meth:`~Sc.Instance.getCappedInstances`
   * :js:meth:`~Sc.Instance.getCuttingSections`
   * :js:meth:`~Sc.Instance.getDefaultDepthRange`
   * :js:meth:`~Sc.Instance.getElementCount`
   * :js:meth:`~Sc.Instance.getEyeDomeLightingBlurEdgeDistance`
   * :js:meth:`~Sc.Instance.getEyeDomeLightingBlurInterval`
   * :js:meth:`~Sc.Instance.getEyeDomeLightingBlurSamples`
   * :js:meth:`~Sc.Instance.getEyeDomeLightingEnabled`
   * :js:meth:`~Sc.Instance.getEyeDomeLightingOpacity`
   * :js:meth:`~Sc.Instance.getEyeDomeLightingShadingEdgeDistance`
   * :js:meth:`~Sc.Instance.getFacesVisible`
   * :js:meth:`~Sc.Instance.getFaceWindingFlipped`
   * :js:meth:`~Sc.Instance.getFrontFacesVisible`
   * :js:meth:`~Sc.Instance.getInteractiveDrawLimitIncreaseEnabled`
   * :js:meth:`~Sc.Instance.getLight`
   * :js:meth:`~Sc.Instance.getLightKeys`
   * :js:meth:`~Sc.Instance.getLinesVisible`
   * :js:meth:`~Sc.Instance.getLooseBounding`
   * :js:meth:`~Sc.Instance.getMetaData`
   * :js:meth:`~Sc.Instance.getMinFrameRate`
   * :js:meth:`~Sc.Instance.getNetworkVersion`
   * :js:meth:`~Sc.Instance.getPointShape`
   * :js:meth:`~Sc.Instance.getPointSize`
   * :js:meth:`~Sc.Instance.getPointSizeUnit`
   * :js:meth:`~Sc.Instance.getPointsVisible`
   * :js:meth:`~Sc.Instance.getStatistics`
   * :js:meth:`~Sc.Instance.getStreamedBounding`
   * :js:meth:`~Sc.Instance.getStreamVersion`
   * :js:meth:`~Sc.Instance.getTriangleCount`
   * :js:meth:`~Sc.Instance.load`
   * :js:meth:`~Sc.Instance.markAllMeshInstancesInteresting`
   * :js:meth:`~Sc.Instance.markCameraAsEmpty`
   * :js:meth:`~Sc.Instance.meshInstanceKeyInfo`
   * :js:meth:`~Sc.Instance.metaDataKeyInfo`
   * :js:meth:`~Sc.Instance.modelKeysFromInclusionKeys`
   * :js:meth:`~Sc.Instance.onResize`
   * :js:meth:`~Sc.Instance.pauseCapping`
   * :js:meth:`~Sc.Instance.primaryModelKey`
   * :js:meth:`~Sc.Instance.queueRedraw`
   * :js:meth:`~Sc.Instance.registerBimInstances`
   * :js:meth:`~Sc.Instance.removeAllCuttingSections`
   * :js:meth:`~Sc.Instance.removeCuttingSections`
   * :js:meth:`~Sc.Instance.removeDrawContext`
   * :js:meth:`~Sc.Instance.removeLight`
   * :js:meth:`~Sc.Instance.replaceCuttingSection`
   * :js:meth:`~Sc.Instance.requestGroups`
   * :js:meth:`~Sc.Instance.requestImages`
   * :js:meth:`~Sc.Instance.requestMeshInstances`
   * :js:meth:`~Sc.Instance.requestMeshInstancesByGroup`
   * :js:meth:`~Sc.Instance.resetExplode`
   * :js:meth:`~Sc.Instance.resetToEmpty`
   * :js:meth:`~Sc.Instance.resumeCapping`
   * :js:meth:`~Sc.Instance.resumeDrawing`
   * :js:meth:`~Sc.Instance.screenSelectByRay`
   * :js:meth:`~Sc.Instance.serverSideRendering`
   * :js:meth:`~Sc.Instance.setAmbientLightColor`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionBias`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionBlurInterval`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionBlurSamples`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionContrast`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionEdgeDistance`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionEnabled`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionIntensity`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionNoiseSize`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionOpacity`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionRadius`
   * :js:meth:`~Sc.Instance.setAmbientOcclusionSamples`
   * :js:meth:`~Sc.Instance.setAntiAliasingMode`
   * :js:meth:`~Sc.Instance.setBackFacesVisible`
   * :js:meth:`~Sc.Instance.setBackgroundColor`
   * :js:meth:`~Sc.Instance.setBackgroundGradient`
   * :js:meth:`~Sc.Instance.setBloomBlurInterval`
   * :js:meth:`~Sc.Instance.setBloomBlurSamples`
   * :js:meth:`~Sc.Instance.setBloomEnabled`
   * :js:meth:`~Sc.Instance.setBloomIntensity`
   * :js:meth:`~Sc.Instance.setBloomIntensityScale`
   * :js:meth:`~Sc.Instance.setBloomLayerCount`
   * :js:meth:`~Sc.Instance.setBloomThreshold`
   * :js:meth:`~Sc.Instance.setBloomThresholdRampWidth`
   * :js:meth:`~Sc.Instance.setBoundingDebugLevel`
   * :js:meth:`~Sc.Instance.setBoundingPreviewColor`
   * :js:meth:`~Sc.Instance.setBoundingPreviewEjected`
   * :js:meth:`~Sc.Instance.setBoundingPreviewEjectedColor`
   * :js:meth:`~Sc.Instance.setBoundingPreviewTested`
   * :js:meth:`~Sc.Instance.setBoundingPreviewTestedColor`
   * :js:meth:`~Sc.Instance.setBoundingPreviewUnderdraw`
   * :js:meth:`~Sc.Instance.setBoundingPreviewUnderdrawColor`
   * :js:meth:`~Sc.Instance.setCamera`
   * :js:meth:`~Sc.Instance.setCappingIdleHookEnabled`
   * :js:meth:`~Sc.Instance.setClumpingEnabled`
   * :js:meth:`~Sc.Instance.setComparisonColors`
   * :js:meth:`~Sc.Instance.setCurrentView`
   * :js:meth:`~Sc.Instance.setDefaultDepthRange`
   * :js:meth:`~Sc.Instance.setDefaultGloss`
   * :js:meth:`~Sc.Instance.setDefaultMirror`
   * :js:meth:`~Sc.Instance.setDefaultSpecularMix`
   * :js:meth:`~Sc.Instance.setDefaultSphereMap`
   * :js:meth:`~Sc.Instance.setDisplayIncompleteFrames`
   * :js:meth:`~Sc.Instance.setDrawIdleDelay`
   * :js:meth:`~Sc.Instance.setDrawMode`
   * :js:meth:`~Sc.Instance.setDrawStrategy`
   * :js:meth:`~Sc.Instance.setEventHandler`
   * :js:meth:`~Sc.Instance.setEyeDomeLightingBlurEdgeDistance`
   * :js:meth:`~Sc.Instance.setEyeDomeLightingBlurInterval`
   * :js:meth:`~Sc.Instance.setEyeDomeLightingBlurSamples`
   * :js:meth:`~Sc.Instance.setEyeDomeLightingEnabled`
   * :js:meth:`~Sc.Instance.setEyeDomeLightingOpacity`
   * :js:meth:`~Sc.Instance.setEyeDomeLightingShadingEdgeDistance`
   * :js:meth:`~Sc.Instance.setFacesVisible`
   * :js:meth:`~Sc.Instance.setFaceWindingFlipped`
   * :js:meth:`~Sc.Instance.setFixedDrawLimit`
   * :js:meth:`~Sc.Instance.setFrontFacesVisible`
   * :js:meth:`~Sc.Instance.setGoochBaseColorProminence`
   * :js:meth:`~Sc.Instance.setGoochBlue`
   * :js:meth:`~Sc.Instance.setGoochLuminanceShiftStrength`
   * :js:meth:`~Sc.Instance.setGoochYellow`
   * :js:meth:`~Sc.Instance.setGroundPlane`
   * :js:meth:`~Sc.Instance.setGroundPlaneWithPosition`
   * :js:meth:`~Sc.Instance.setHardEdgeColor`
   * :js:meth:`~Sc.Instance.setHardEdgeOpacity`
   * :js:meth:`~Sc.Instance.setHardEdgesEnabled`
   * :js:meth:`~Sc.Instance.setHardEdgeThreshold`
   * :js:meth:`~Sc.Instance.setHardEdgeThresholdRampWidth`
   * :js:meth:`~Sc.Instance.setHiddenLineHiddenLineColor`
   * :js:meth:`~Sc.Instance.setHiddenLineHighlightedElementFillColor`
   * :js:meth:`~Sc.Instance.setHiddenLineHighlightedElementOutlineColor`
   * :js:meth:`~Sc.Instance.setHiddenLineHighlightedInstanceFillColor`
   * :js:meth:`~Sc.Instance.setHiddenLineHighlightedInstanceOutlineColor`
   * :js:meth:`~Sc.Instance.setHiddenLineVisibleLineColor`
   * :js:meth:`~Sc.Instance.setHighlightColorizeCompression`
   * :js:meth:`~Sc.Instance.setHighlightedElementColor`
   * :js:meth:`~Sc.Instance.setHighlightedElementFilter`
   * :js:meth:`~Sc.Instance.setHighlightedElementOutlineColor`
   * :js:meth:`~Sc.Instance.setHighlightedInstanceColor`
   * :js:meth:`~Sc.Instance.setHighlightedInstanceFilter`
   * :js:meth:`~Sc.Instance.setHighlightedInstanceOutlineColor`
   * :js:meth:`~Sc.Instance.setHighlightMode`
   * :js:meth:`~Sc.Instance.setImageBasedLightingEnabled`
   * :js:meth:`~Sc.Instance.setImageBasedLightingEnvironment`
   * :js:meth:`~Sc.Instance.setImageBasedLightingEnvironmentToDefault`
   * :js:meth:`~Sc.Instance.setImageBasedLightingIntensity`
   * :js:meth:`~Sc.Instance.setImageBasedLightingMatrix`
   * :js:meth:`~Sc.Instance.setInstancingEnabled`
   * :js:meth:`~Sc.Instance.setInteractiveDrawLimitIncreaseEnabled`
   * :js:meth:`~Sc.Instance.setInteractiveDrawLimitIncreaseInterval`
   * :js:meth:`~Sc.Instance.setLightDecay`
   * :js:meth:`~Sc.Instance.setLightingEnabled`
   * :js:meth:`~Sc.Instance.setLightPower`
   * :js:meth:`~Sc.Instance.setLineJitterEnabled`
   * :js:meth:`~Sc.Instance.setLineJitterFrequency`
   * :js:meth:`~Sc.Instance.setLineJitterInstanceCount`
   * :js:meth:`~Sc.Instance.setLineJitterRadius`
   * :js:meth:`~Sc.Instance.setLinesVisible`
   * :js:meth:`~Sc.Instance.setMeshLevel`
   * :js:meth:`~Sc.Instance.setMetallicRoughnessMaterialOverride`
   * :js:meth:`~Sc.Instance.setMinDrawLimit`
   * :js:meth:`~Sc.Instance.setMinFrameRate`
   * :js:meth:`~Sc.Instance.setMinIncrementalFrameRate`
   * :js:meth:`~Sc.Instance.setMinInteractiveFrameRate`
   * :js:meth:`~Sc.Instance.setPointShape`
   * :js:meth:`~Sc.Instance.setPointSize`
   * :js:meth:`~Sc.Instance.setPointsVisible`
   * :js:meth:`~Sc.Instance.setPointVisibilityTest`
   * :js:meth:`~Sc.Instance.setPostInputDelay`
   * :js:meth:`~Sc.Instance.setSilhouetteColor`
   * :js:meth:`~Sc.Instance.setSilhouetteEnabled`
   * :js:meth:`~Sc.Instance.setSilhouetteOpacity`
   * :js:meth:`~Sc.Instance.setSilhouetteThreshold`
   * :js:meth:`~Sc.Instance.setSilhouetteThresholdRampWidth`
   * :js:meth:`~Sc.Instance.setSimpleReflectionAttenuation`
   * :js:meth:`~Sc.Instance.setSimpleReflectionBlurInterval`
   * :js:meth:`~Sc.Instance.setSimpleReflectionBlurSamples`
   * :js:meth:`~Sc.Instance.setSimpleReflectionEnabled`
   * :js:meth:`~Sc.Instance.setSimpleReflectionFadeAngle`
   * :js:meth:`~Sc.Instance.setSimpleReflectionOpacity`
   * :js:meth:`~Sc.Instance.setSimpleShadowBlurInterval`
   * :js:meth:`~Sc.Instance.setSimpleShadowBlurSamples`
   * :js:meth:`~Sc.Instance.setSimpleShadowColor`
   * :js:meth:`~Sc.Instance.setSimpleShadowEnabled`
   * :js:meth:`~Sc.Instance.setSimpleShadowInteractiveUpdateEnabled`
   * :js:meth:`~Sc.Instance.setSimpleShadowOpacity`
   * :js:meth:`~Sc.Instance.setSimpleShadowResolution`
   * :js:meth:`~Sc.Instance.setSsrQuality`
   * :js:meth:`~Sc.Instance.setStreamCutoffScale`
   * :js:meth:`~Sc.Instance.setStreamIdleMarker`
   * :js:meth:`~Sc.Instance.setToonBandCount`
   * :js:meth:`~Sc.Instance.setToonSpecularFactor`
   * :js:meth:`~Sc.Instance.setTransparencyMode`
   * :js:meth:`~Sc.Instance.setUnhighlightedColor`
   * :js:meth:`~Sc.Instance.setUnhighlightedFilter`
   * :js:meth:`~Sc.Instance.setVisibilityByAttachment`
   * :js:meth:`~Sc.Instance.setXRayMaterial`
   * :js:meth:`~Sc.Instance.setXRayOpacity`
   * :js:meth:`~Sc.Instance.setXRayTransparencyMode`
   * :js:meth:`~Sc.Instance.shutDown`
   * :js:meth:`~Sc.Instance.startComparison`
   * :js:meth:`~Sc.Instance.startExplode`
   * :js:meth:`~Sc.Instance.suspendDrawing`
   * :js:meth:`~Sc.Instance.testPointVisibility`
   * :js:meth:`~Sc.Instance.throttleLoad`
   * :js:meth:`~Sc.Instance.triangulatePolygon`
   * :js:meth:`~Sc.Instance.truncateMetaData`
   * :js:meth:`~Sc.Instance.unsetAllColors`
   * :js:meth:`~Sc.Instance.unsetAllHighlighted`
   * :js:meth:`~Sc.Instance.unsetAllOpacity`
   * :js:meth:`~Sc.Instance.unsetAllXRay`
   * :js:meth:`~Sc.Instance.unsetCurrentView`
   * :js:meth:`~Sc.Instance.unsetEventHandler`
   * :js:meth:`~Sc.Instance.unsetXRayMaterial`
   * :js:meth:`~Sc.Instance.updateLight`
   * :js:meth:`~Sc.Instance.waitForImageDecoding`
   * :js:meth:`~Sc.Instance.worldSelectByRay`
   
   




Properties
==========

.. js:data:: Sc.Instance.allowHighDpi

   .. rst-class:: sig-pretty-signature
   
      | allowHighDpi: *boolean*
   



.. js:data:: Sc.Instance.canvas

   .. rst-class:: sig-pretty-signature
   
      | canvas: (*OffscreenCanvas* \| *HTMLCanvasElement*\ )
   



.. js:data:: Sc.Instance.containers

   .. rst-class:: sig-pretty-signature
   
      | containers: *Map*
   



.. js:data:: Sc.Instance.Image

   .. rst-class:: sig-pretty-signature
   
      | Image: :js:class:`ImageInterface <Sc.ImageInterface>`
   



.. js:data:: Sc.Instance.Matrix

   .. rst-class:: sig-pretty-signature
   
      | Matrix: :js:class:`MatrixInterface <Sc.MatrixInterface>`
   



.. js:data:: Sc.Instance.MeshData

   .. rst-class:: sig-pretty-signature
   
      | MeshData: :js:class:`MeshDataInterface <Sc.MeshDataInterface>`
   



.. js:data:: Sc.Instance.MeshDataBuilder

   .. rst-class:: sig-pretty-signature
   
      | MeshDataBuilder: MeshDataBuilder(): :js:class:`MeshDataBuilder <Sc.MeshDataBuilder>`
   



.. js:data:: Sc.Instance.MeshInstance

   .. rst-class:: sig-pretty-signature
   
      | MeshInstance: :js:class:`MeshInstanceInterface <Sc.MeshInstanceInterface>`
   



.. js:data:: Sc.Instance.Overlay

   .. rst-class:: sig-pretty-signature
   
      | Overlay: :js:class:`OverlayInterface <Sc.OverlayInterface>`
   



.. js:data:: Sc.Instance.wrappers

   .. rst-class:: sig-pretty-signature
   
      | wrappers: *Map*
   





Methods
=======

.. js:method:: Sc.Instance._loseWebGlContext

   .. rst-class:: sig-pretty-signature
   
      | _loseWebGlContext(): *boolean*
   
   **Returns**\ : *boolean*
   



.. js:method:: Sc.Instance.addCuttingSection

   .. rst-class:: sig-pretty-signature
   
      | addCuttingSection(**cuttingPlanes**\ : :js:data:`~Vector4`\ []): *Promise*
   
   **Parameters**
   
      **cuttingPlanes**\ : :js:data:`~Vector4`\ []
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.addDrawContext

   .. rst-class:: sig-pretty-signature
   
      | addDrawContext(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.addLight

   .. rst-class:: sig-pretty-signature
   
      | addLight(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **type**\ : :js:data:`LightType <Sc.LightType>`\ , **space**\ : :js:data:`LightSpace <Sc.LightSpace>`\ , **position**\ : :js:data:`~Vector3`\ , **color**\ : :js:data:`~Vector3`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **type**\ : :js:data:`LightType <Sc.LightType>`
   
      **space**\ : :js:data:`LightSpace <Sc.LightSpace>`
   
      **position**\ : :js:data:`~Vector3`
   
      **color**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.advanceExportToSvg

   .. rst-class:: sig-pretty-signature
   
      | advanceExportToSvg(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.advanceVolumeSelection

   .. rst-class:: sig-pretty-signature
   
      | advanceVolumeSelection(**handle**\ : *number*\ , **batchCapacity**\ : *number*\ ): *Promise*
   
   **Parameters**
   
      **handle**\ : *number*
   
      **batchCapacity**\ : *number*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.attachModels

   .. rst-class:: sig-pretty-signature
   
      | attachModels(**attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **modelNameWithTransform**\ : [*string*\ , :js:data:`~Matrix12`\ ][], **attachMeasurementUnit**\ : *number*\ , **attachInvisibly**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`
   
      **modelNameWithTransform**\ : [*string*\ , :js:data:`~Matrix12`\ ][]
   
      **attachMeasurementUnit**\ : *number*
   
      **attachInvisibly**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.attachScsBuffer

   .. rst-class:: sig-pretty-signature
   
      | attachScsBuffer(**attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **buffer**\ : :js:data:`ScsBuffer <Sc.ScsBuffer>`\ , **inclusionMatrix**\ : :js:data:`~Matrix12`\ , **attachMeasurementUnit**\ : *number*\ , **attachInvisibly**\ : *boolean*\ , **resolveOnFullyLoaded**\ : *boolean*\ , **cancelUnitMatrix**\ : *boolean*\ , **autoUnitScale**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`
   
      **buffer**\ : :js:data:`ScsBuffer <Sc.ScsBuffer>`
   
      **inclusionMatrix**\ : :js:data:`~Matrix12`
   
      **attachMeasurementUnit**\ : *number*
   
      **attachInvisibly**\ : *boolean*
   
      **resolveOnFullyLoaded**\ : *boolean*
   
      **cancelUnitMatrix**\ : *boolean*
   
      **autoUnitScale**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.attachScsModelByKey

   .. rst-class:: sig-pretty-signature
   
      | attachScsModelByKey(**attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **matrix**\ : :js:data:`~Matrix12`\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **attachMeasurementUnit**\ : *number*\ , **attachInvisibly**\ : *boolean*\ ): :js:data:`InclusionKey <Sc.InclusionKey>`
   
   **Parameters**
   
      **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`
   
      **matrix**\ : :js:data:`~Matrix12`
   
      **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`
   
      **attachMeasurementUnit**\ : *number*
   
      **attachInvisibly**\ : *boolean*
   
   
   **Returns**\ : :js:data:`InclusionKey <Sc.InclusionKey>`
   



.. js:method:: Sc.Instance.beginConvexPolyhedronSelection

   .. rst-class:: sig-pretty-signature
   
      | beginConvexPolyhedronSelection(**volumePlaneCoeffs**\ : :js:data:`~Vector4`\ [], **heuristicOrigin**\ : :js:data:`~Vector3`\ , **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **volumePlaneCoeffs**\ : :js:data:`~Vector4`\ []
   
      **heuristicOrigin**\ : :js:data:`~Vector3`
   
      **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.beginExportToSvg

   .. rst-class:: sig-pretty-signature
   
      | beginExportToSvg(**config**\ : :js:class:`SvgConfig <Sc.SvgConfig>`\ ): *Promise*
   
   **Parameters**
   
      **config**\ : :js:class:`SvgConfig <Sc.SvgConfig>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.beginRayDrillSelection

   .. rst-class:: sig-pretty-signature
   
      | beginRayDrillSelection(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **rayCssOriginX**\ : *number*\ , **rayCssOriginY**\ : *number*\ , **rayCssBoxRadius**\ : *number*\ , **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **rayCssOriginX**\ : *number*
   
      **rayCssOriginY**\ : *number*
   
      **rayCssBoxRadius**\ : *number*
   
      **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.beginScreenAreaSelection

   .. rst-class:: sig-pretty-signature
   
      | beginScreenAreaSelection(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **areaCssMinX**\ : *number*\ , **areaCssMinY**\ : *number*\ , **areaCssMaxX**\ : *number*\ , **areaCssMaxY**\ : *number*\ , **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **areaCssMinX**\ : *number*
   
      **areaCssMinY**\ : *number*
   
      **areaCssMaxX**\ : *number*
   
      **areaCssMaxY**\ : *number*
   
      **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.beginSphereSelection

   .. rst-class:: sig-pretty-signature
   
      | beginSphereSelection(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **sphereCenter**\ : :js:data:`~Vector3`\ , **sphereRadius**\ : *number*\ , **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **sphereCenter**\ : :js:data:`~Vector3`
   
      **sphereRadius**\ : *number*
   
      **config**\ : :js:class:`VolumeSelectionConfig <Sc.VolumeSelectionConfig>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.clearLights

   .. rst-class:: sig-pretty-signature
   
      | clearLights(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.createFloorplanMesh

   .. rst-class:: sig-pretty-signature
   
      | createFloorplanMesh(**incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ ): *Promise*
   
   **Parameters**
   
      **incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.cuttingSectionLimits

   .. rst-class:: sig-pretty-signature
   
      | cuttingSectionLimits(): :js:class:`CuttingSectionLimits <Sc.CuttingSectionLimits>`
   
   **Returns**\ : :js:class:`CuttingSectionLimits <Sc.CuttingSectionLimits>`
   



.. js:method:: Sc.Instance.debug_log

   .. rst-class:: sig-pretty-signature
   
      | debug_log(**message**\ : *string*\ ): *Promise*
   
   **Parameters**
   
      **message**\ : *string*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.debug_stateFailure

   .. rst-class:: sig-pretty-signature
   
      | debug_stateFailure(**stateFailureValue**\ : *number*\ ): *Promise*
   
   **Parameters**
   
      **stateFailureValue**\ : *number*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.debug_sync

   .. rst-class:: sig-pretty-signature
   
      | debug_sync(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.demandMeshInstances

   .. rst-class:: sig-pretty-signature
   
      | demandMeshInstances(**incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ ): *void*
   
   **Parameters**
   
      **incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.detachInclusions

   .. rst-class:: sig-pretty-signature
   
      | detachInclusions(**inclusionKeys**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ []): *Promise*
   
   **Parameters**
   
      **inclusionKeys**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ []
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.disableCapping

   .. rst-class:: sig-pretty-signature
   
      | disableCapping(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.disconnectNetwork

   .. rst-class:: sig-pretty-signature
   
      | disconnectNetwork(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.enableCapping

   .. rst-class:: sig-pretty-signature
   
      | enableCapping(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **lineColor**\ : :js:data:`~Vector4`\ , **faceColor**\ : :js:data:`~Vector4`\ , **quantizationGranularity**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **lineColor**\ : :js:data:`~Vector4`
   
      **faceColor**\ : :js:data:`~Vector4`
   
      **quantizationGranularity**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.endComparison

   .. rst-class:: sig-pretty-signature
   
      | endComparison(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.endVolumeSelection

   .. rst-class:: sig-pretty-signature
   
      | endVolumeSelection(**handle**\ : *number*\ ): *void*
   
   **Parameters**
   
      **handle**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.explode

   .. rst-class:: sig-pretty-signature
   
      | explode(**distance**\ : *number*\ ): *void*
   
   **Parameters**
   
      **distance**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.exportToSvg

   .. rst-class:: sig-pretty-signature
   
      | exportToSvg(**config**\ : :js:class:`SvgConfig <Sc.SvgConfig>`\ ): *Promise*
   
   **Parameters**
   
      **config**\ : :js:class:`SvgConfig <Sc.SvgConfig>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.feedScsBuffer

   .. rst-class:: sig-pretty-signature
   
      | feedScsBuffer(**attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **buffer**\ : (*None* \| :js:data:`ScsBuffer <Sc.ScsBuffer>`\ )): *void*
   
   **Parameters**
   
      **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`
   
      **buffer**\ : (*None* \| :js:data:`ScsBuffer <Sc.ScsBuffer>`\ )
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.flushMetaDataCache

   .. rst-class:: sig-pretty-signature
   
      | flushMetaDataCache(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.getAmbientOcclusionEnabled

   .. rst-class:: sig-pretty-signature
   
      | getAmbientOcclusionEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getAmbientOcclusionRadius

   .. rst-class:: sig-pretty-signature
   
      | getAmbientOcclusionRadius(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getBackFacesVisible

   .. rst-class:: sig-pretty-signature
   
      | getBackFacesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getBackgroundGradient

   .. rst-class:: sig-pretty-signature
   
      | getBackgroundGradient(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getCamera

   .. rst-class:: sig-pretty-signature
   
      | getCamera(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): :js:class:`Camera <Sc.Camera>`
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : :js:class:`Camera <Sc.Camera>`
   



.. js:method:: Sc.Instance.getCameraPromise

   .. rst-class:: sig-pretty-signature
   
      | getCameraPromise(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getCappedInstances

   .. rst-class:: sig-pretty-signature
   
      | getCappedInstances(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getCuttingSections

   .. rst-class:: sig-pretty-signature
   
      | getCuttingSections(**sectionKeys**\ : :js:data:`CuttingSectionKey <Sc.CuttingSectionKey.Invalid>`\ []): *Promise*
   
   **Parameters**
   
      **sectionKeys**\ : :js:data:`CuttingSectionKey <Sc.CuttingSectionKey.Invalid>`\ []
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getDefaultDepthRange

   .. rst-class:: sig-pretty-signature
   
      | getDefaultDepthRange(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getElementCount

   .. rst-class:: sig-pretty-signature
   
      | getElementCount(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getEyeDomeLightingBlurEdgeDistance

   .. rst-class:: sig-pretty-signature
   
      | getEyeDomeLightingBlurEdgeDistance(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getEyeDomeLightingBlurInterval

   .. rst-class:: sig-pretty-signature
   
      | getEyeDomeLightingBlurInterval(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getEyeDomeLightingBlurSamples

   .. rst-class:: sig-pretty-signature
   
      | getEyeDomeLightingBlurSamples(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getEyeDomeLightingEnabled

   .. rst-class:: sig-pretty-signature
   
      | getEyeDomeLightingEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getEyeDomeLightingOpacity

   .. rst-class:: sig-pretty-signature
   
      | getEyeDomeLightingOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getEyeDomeLightingShadingEdgeDistance

   .. rst-class:: sig-pretty-signature
   
      | getEyeDomeLightingShadingEdgeDistance(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getFacesVisible

   .. rst-class:: sig-pretty-signature
   
      | getFacesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getFaceWindingFlipped

   .. rst-class:: sig-pretty-signature
   
      | getFaceWindingFlipped(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getFrontFacesVisible

   .. rst-class:: sig-pretty-signature
   
      | getFrontFacesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getInteractiveDrawLimitIncreaseEnabled

   .. rst-class:: sig-pretty-signature
   
      | getInteractiveDrawLimitIncreaseEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getLight

   .. rst-class:: sig-pretty-signature
   
      | getLight(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getLightKeys

   .. rst-class:: sig-pretty-signature
   
      | getLightKeys(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getLinesVisible

   .. rst-class:: sig-pretty-signature
   
      | getLinesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getLooseBounding

   .. rst-class:: sig-pretty-signature
   
      | getLooseBounding(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getMetaData

   .. rst-class:: sig-pretty-signature
   
      | getMetaData(**ids**\ : :js:data:`DataIds <Sc.DataIds>`\ ): *Promise*
   
   **Parameters**
   
      **ids**\ : :js:data:`DataIds <Sc.DataIds>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getMinFrameRate

   .. rst-class:: sig-pretty-signature
   
      | getMinFrameRate(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getNetworkVersion

   .. rst-class:: sig-pretty-signature
   
      | getNetworkVersion(): *number*
   
   **Returns**\ : *number*
   



.. js:method:: Sc.Instance.getPointShape

   .. rst-class:: sig-pretty-signature
   
      | getPointShape(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getPointSize

   .. rst-class:: sig-pretty-signature
   
      | getPointSize(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getPointSizeUnit

   .. rst-class:: sig-pretty-signature
   
      | getPointSizeUnit(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getPointsVisible

   .. rst-class:: sig-pretty-signature
   
      | getPointsVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getStatistics

   .. rst-class:: sig-pretty-signature
   
      | getStatistics(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getStreamedBounding

   .. rst-class:: sig-pretty-signature
   
      | getStreamedBounding(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.getStreamVersion

   .. rst-class:: sig-pretty-signature
   
      | getStreamVersion(): *number*
   
   **Returns**\ : *number*
   



.. js:method:: Sc.Instance.getTriangleCount

   .. rst-class:: sig-pretty-signature
   
      | getTriangleCount(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.load

   .. rst-class:: sig-pretty-signature
   
      | load(**configuration**\ : :js:class:`LoadConfig <Sc.LoadConfig>`\ ): :js:data:`SessionType <Sc.SessionType>`
   
   **Parameters**
   
      **configuration**\ : :js:class:`LoadConfig <Sc.LoadConfig>`
   
   
   **Returns**\ : :js:data:`SessionType <Sc.SessionType>`
   



.. js:method:: Sc.Instance.markAllMeshInstancesInteresting

   .. rst-class:: sig-pretty-signature
   
      | markAllMeshInstancesInteresting(**interesting**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **interesting**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.markCameraAsEmpty

   .. rst-class:: sig-pretty-signature
   
      | markCameraAsEmpty(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.meshInstanceKeyInfo

   .. rst-class:: sig-pretty-signature
   
      | meshInstanceKeyInfo(**modelKeyOrAttachScope**\ : (:js:data:`ModelKey <Sc.ModelKey>` \| :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ ), **byModel**\ : *boolean*\ , **keyCountOnly**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **modelKeyOrAttachScope**\ : (:js:data:`ModelKey <Sc.ModelKey>` \| :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ )
   
      **byModel**\ : *boolean*
   
      **keyCountOnly**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.metaDataKeyInfo

   .. rst-class:: sig-pretty-signature
   
      | metaDataKeyInfo(**modelKeyOrAttachScope**\ : (:js:data:`ModelKey <Sc.ModelKey>` \| :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ ), **byModel**\ : *boolean*\ , **keyCountOnly**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **modelKeyOrAttachScope**\ : (:js:data:`ModelKey <Sc.ModelKey>` \| :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ )
   
      **byModel**\ : *boolean*
   
      **keyCountOnly**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.modelKeysFromInclusionKeys

   .. rst-class:: sig-pretty-signature
   
      | modelKeysFromInclusionKeys(**inclusionKeys**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ []): *Promise*
   
   **Parameters**
   
      **inclusionKeys**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ []
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.onResize

   .. rst-class:: sig-pretty-signature
   
      | onResize(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.pauseCapping

   .. rst-class:: sig-pretty-signature
   
      | pauseCapping(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.primaryModelKey

   .. rst-class:: sig-pretty-signature
   
      | primaryModelKey(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.queueRedraw

   .. rst-class:: sig-pretty-signature
   
      | queueRedraw(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.registerBimInstances

   .. rst-class:: sig-pretty-signature
   
      | registerBimInstances(**incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ , **bimType**\ : :js:data:`BimType <Sc.BimType>`\ ): *void*
   
   **Parameters**
   
      **incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
      **bimType**\ : :js:data:`BimType <Sc.BimType>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.removeAllCuttingSections

   .. rst-class:: sig-pretty-signature
   
      | removeAllCuttingSections(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.removeCuttingSections

   .. rst-class:: sig-pretty-signature
   
      | removeCuttingSections(**sectionHandles**\ : :js:data:`CuttingSectionKey <Sc.CuttingSectionKey.Invalid>`\ []): *Promise*
   
   **Parameters**
   
      **sectionHandles**\ : :js:data:`CuttingSectionKey <Sc.CuttingSectionKey.Invalid>`\ []
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.removeDrawContext

   .. rst-class:: sig-pretty-signature
   
      | removeDrawContext(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.removeLight

   .. rst-class:: sig-pretty-signature
   
      | removeLight(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.replaceCuttingSection

   .. rst-class:: sig-pretty-signature
   
      | replaceCuttingSection(**cuttingPlanes**\ : :js:data:`~Vector4`\ [], **key**\ : :js:data:`CuttingSectionKey <Sc.CuttingSectionKey.Invalid>`\ ): *Promise*
   
   **Parameters**
   
      **cuttingPlanes**\ : :js:data:`~Vector4`\ []
   
      **key**\ : :js:data:`CuttingSectionKey <Sc.CuttingSectionKey.Invalid>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.requestGroups

   .. rst-class:: sig-pretty-signature
   
      | requestGroups(**groupIds**\ : :js:data:`GroupIds <Sc.GroupIds>`\ , **obtainDependentGroups**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **groupIds**\ : :js:data:`GroupIds <Sc.GroupIds>`
   
      **obtainDependentGroups**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.requestImages

   .. rst-class:: sig-pretty-signature
   
      | requestImages(**imageIds**\ : :js:data:`ImageIds <Sc.ImageIds>`\ , **wantThumbnails**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **imageIds**\ : :js:data:`ImageIds <Sc.ImageIds>`
   
      **wantThumbnails**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.requestMeshInstances

   .. rst-class:: sig-pretty-signature
   
      | requestMeshInstances(**incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ , **withMeshData**\ : *boolean*\ , **ignoreFailure**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
      **withMeshData**\ : *boolean*
   
      **ignoreFailure**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.requestMeshInstancesByGroup

   .. rst-class:: sig-pretty-signature
   
      | requestMeshInstancesByGroup(**groupId**\ : :js:data:`GroupIds <Sc.GroupIds>`\ , **withMeshData**\ : *boolean*\ , **expandGroups**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **groupId**\ : :js:data:`GroupIds <Sc.GroupIds>`
   
      **withMeshData**\ : *boolean*
   
      **expandGroups**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.resetExplode

   .. rst-class:: sig-pretty-signature
   
      | resetExplode(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.resetToEmpty

   .. rst-class:: sig-pretty-signature
   
      | resetToEmpty(**whitelistInstances**\ : :js:data:`InstanceKey <Sc.InstanceKey.Invalid>`\ [], **whitelistMeshes**\ : :js:data:`MeshKey <Sc.MeshKey.Invalid>`\ []): *Promise*
   
   **Parameters**
   
      **whitelistInstances**\ : :js:data:`InstanceKey <Sc.InstanceKey.Invalid>`\ []
   
      **whitelistMeshes**\ : :js:data:`MeshKey <Sc.MeshKey.Invalid>`\ []
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.resumeCapping

   .. rst-class:: sig-pretty-signature
   
      | resumeCapping(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.resumeDrawing

   .. rst-class:: sig-pretty-signature
   
      | resumeDrawing(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.screenSelectByRay

   .. rst-class:: sig-pretty-signature
   
      | screenSelectByRay(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **elementMask**\ : *number*\ , **canvasX**\ : *number*\ , **canvasY**\ : *number*\ , **maxPixelTolerance**\ : *number*\ , **config**\ : :js:class:`RaySelectionConfig <Sc.RaySelectionConfig>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **elementMask**\ : *number*
   
      **canvasX**\ : *number*
   
      **canvasY**\ : *number*
   
      **maxPixelTolerance**\ : *number*
   
      **config**\ : :js:class:`RaySelectionConfig <Sc.RaySelectionConfig>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.serverSideRendering

   .. rst-class:: sig-pretty-signature
   
      | serverSideRendering(): *boolean*
   
   **Returns**\ : *boolean*
   



.. js:method:: Sc.Instance.setAmbientLightColor

   .. rst-class:: sig-pretty-signature
   
      | setAmbientLightColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionBias

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionBias(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **bias**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **bias**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionBlurInterval

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionBlurInterval(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **interval**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **interval**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionBlurSamples

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionBlurSamples(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **samples**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **samples**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionContrast

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionContrast(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **contrast**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **contrast**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionEdgeDistance

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionEdgeDistance(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **distance**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **distance**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionEnabled

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **enabled**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **enabled**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionIntensity

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionIntensity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **intensity**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **intensity**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionNoiseSize

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionNoiseSize(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **size**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **size**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionOpacity

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **opacity**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **opacity**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionRadius

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionRadius(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **radius**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **radius**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAmbientOcclusionSamples

   .. rst-class:: sig-pretty-signature
   
      | setAmbientOcclusionSamples(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **samples**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **samples**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setAntiAliasingMode

   .. rst-class:: sig-pretty-signature
   
      | setAntiAliasingMode(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **antiAliasingMode**\ : :js:data:`AntiAliasingMode <Sc.AntiAliasingMode>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **antiAliasingMode**\ : :js:data:`AntiAliasingMode <Sc.AntiAliasingMode>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBackFacesVisible

   .. rst-class:: sig-pretty-signature
   
      | setBackFacesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **visible**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **visible**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBackgroundColor

   .. rst-class:: sig-pretty-signature
   
      | setBackgroundColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBackgroundGradient

   .. rst-class:: sig-pretty-signature
   
      | setBackgroundGradient(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **top**\ : :js:data:`~Vector4`\ , **bottom**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **top**\ : :js:data:`~Vector4`
   
      **bottom**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomBlurInterval

   .. rst-class:: sig-pretty-signature
   
      | setBloomBlurInterval(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **layer**\ : *number*\ , **value**\ : *number*\ , **unit**\ : :js:data:`BlurIntervalUnit <Sc.BlurIntervalUnit>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **layer**\ : *number*
   
      **value**\ : *number*
   
      **unit**\ : :js:data:`BlurIntervalUnit <Sc.BlurIntervalUnit>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomBlurSamples

   .. rst-class:: sig-pretty-signature
   
      | setBloomBlurSamples(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **layer**\ : *number*\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **layer**\ : *number*
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomEnabled

   .. rst-class:: sig-pretty-signature
   
      | setBloomEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomIntensity

   .. rst-class:: sig-pretty-signature
   
      | setBloomIntensity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **layer**\ : *number*\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **layer**\ : *number*
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomIntensityScale

   .. rst-class:: sig-pretty-signature
   
      | setBloomIntensityScale(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomLayerCount

   .. rst-class:: sig-pretty-signature
   
      | setBloomLayerCount(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomThreshold

   .. rst-class:: sig-pretty-signature
   
      | setBloomThreshold(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBloomThresholdRampWidth

   .. rst-class:: sig-pretty-signature
   
      | setBloomThresholdRampWidth(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingDebugLevel

   .. rst-class:: sig-pretty-signature
   
      | setBoundingDebugLevel(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **level**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **level**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingPreviewColor

   .. rst-class:: sig-pretty-signature
   
      | setBoundingPreviewColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingPreviewEjected

   .. rst-class:: sig-pretty-signature
   
      | setBoundingPreviewEjected(**points**\ : :js:data:`~Vector3`\ [], **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **points**\ : :js:data:`~Vector3`\ []
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingPreviewEjectedColor

   .. rst-class:: sig-pretty-signature
   
      | setBoundingPreviewEjectedColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingPreviewTested

   .. rst-class:: sig-pretty-signature
   
      | setBoundingPreviewTested(**points**\ : :js:data:`~Vector3`\ [], **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **points**\ : :js:data:`~Vector3`\ []
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingPreviewTestedColor

   .. rst-class:: sig-pretty-signature
   
      | setBoundingPreviewTestedColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingPreviewUnderdraw

   .. rst-class:: sig-pretty-signature
   
      | setBoundingPreviewUnderdraw(**points**\ : :js:data:`~Vector3`\ [], **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **points**\ : :js:data:`~Vector3`\ []
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setBoundingPreviewUnderdrawColor

   .. rst-class:: sig-pretty-signature
   
      | setBoundingPreviewUnderdrawColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setCamera

   .. rst-class:: sig-pretty-signature
   
      | setCamera(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **camera**\ : :js:class:`Camera <Sc.Camera>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **camera**\ : :js:class:`Camera <Sc.Camera>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setCappingIdleHookEnabled

   .. rst-class:: sig-pretty-signature
   
      | setCappingIdleHookEnabled(**enable**\ : *boolean*\ ): *Promise*
   
   **Parameters**
   
      **enable**\ : *boolean*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.setClumpingEnabled

   .. rst-class:: sig-pretty-signature
   
      | setClumpingEnabled(**value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setComparisonColors

   .. rst-class:: sig-pretty-signature
   
      | setComparisonColors(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **sameColor**\ : :js:data:`~Vector3`\ , **only1Color**\ : :js:data:`~Vector3`\ , **only2Color**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **sameColor**\ : :js:data:`~Vector3`
   
      **only1Color**\ : :js:data:`~Vector3`
   
      **only2Color**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setCurrentView

   .. rst-class:: sig-pretty-signature
   
      | setCurrentView(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **view**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **view**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDefaultDepthRange

   .. rst-class:: sig-pretty-signature
   
      | setDefaultDepthRange(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **min**\ : *number*\ , **max**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **min**\ : *number*
   
      **max**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDefaultGloss

   .. rst-class:: sig-pretty-signature
   
      | setDefaultGloss(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **gloss**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **gloss**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDefaultMirror

   .. rst-class:: sig-pretty-signature
   
      | setDefaultMirror(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **mirror**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **mirror**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDefaultSpecularMix

   .. rst-class:: sig-pretty-signature
   
      | setDefaultSpecularMix(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **mix**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **mix**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDefaultSphereMap

   .. rst-class:: sig-pretty-signature
   
      | setDefaultSphereMap(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **imageId**\ : :js:data:`ImageId <Sc.ImageId>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **imageId**\ : :js:data:`ImageId <Sc.ImageId>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDisplayIncompleteFrames

   .. rst-class:: sig-pretty-signature
   
      | setDisplayIncompleteFrames(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDrawIdleDelay

   .. rst-class:: sig-pretty-signature
   
      | setDrawIdleDelay(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **delay**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **delay**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDrawMode

   .. rst-class:: sig-pretty-signature
   
      | setDrawMode(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **drawMode**\ : :js:data:`DrawMode <Sc.DrawMode>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **drawMode**\ : :js:data:`DrawMode <Sc.DrawMode>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setDrawStrategy

   .. rst-class:: sig-pretty-signature
   
      | setDrawStrategy(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **strategy**\ : :js:data:`DrawStrategy <Sc.DrawStrategy>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **strategy**\ : :js:data:`DrawStrategy <Sc.DrawStrategy>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setEventHandler

   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"announce_model"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **masterModelKey**\ : :js:data:`MasterModelKey <Sc.MasterModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"announce_model"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **masterModelKey**\ : :js:data:`MasterModelKey <Sc.MasterModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"bad_data"*\ , **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`BadDataData <Sc.BadDataData>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"bad_data"*
   
      **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`BadDataData <Sc.BadDataData>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"bounding"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"bounding"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"camera_set"*\ , **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"camera_set"*
   
      **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"capping_idle"*\ , **callback**\ : (**eventName**\ : *string*\ , **isIdle**\ : *boolean*\ , **cappedInstanceCount**\ : *number*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"capping_idle"*
   
      **callback**\ : (**eventName**\ : *string*\ , **isIdle**\ : *boolean*\ , **cappedInstanceCount**\ : *number*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"client_message"*\ , **callback**\ : (**eventName**\ : *string*\ , **data**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"client_message"*
   
      **callback**\ : (**eventName**\ : *string*\ , **data**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"draw_complete"*\ , **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"draw_complete"*
   
      **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"draw_idle"*\ , **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"draw_idle"*
   
      **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"first_instance"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"first_instance"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"inclusion"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **inclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"inclusion"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **inclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"meta_data"*\ , **callback**\ : (**eventName**\ : *string*\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **dataKey**\ : :js:data:`DataKey <Sc.DataKey.Invalid>`\ , **data**\ : *Uint8Array*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"meta_data"*
   
      **callback**\ : (**eventName**\ : *string*\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **dataKey**\ : :js:data:`DataKey <Sc.DataKey.Invalid>`\ , **data**\ : *Uint8Array*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"missing_model"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **modelPath**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"missing_model"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **modelPath**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"network_receive_data"*\ , **callback**\ : (**eventName**\ : *string*\ , **dataSize**\ : *number*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"network_receive_data"*
   
      **callback**\ : (**eventName**\ : *string*\ , **dataSize**\ : *number*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"open_model_failed"*\ , **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`OpenModelFailedData <Sc.OpenModelFailedData>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"open_model_failed"*
   
      **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`OpenModelFailedData <Sc.OpenModelFailedData>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"post_draw"*\ , **callback**\ : (**eventName**\ : *string*\ , **draw_index**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **stats**\ : :js:class:`FrameStats <Sc.FrameStats>`\ , **camera**\ : :js:class:`Camera <Sc.Camera>`\ , **visiblePoints**\ : *number*\ []) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"post_draw"*
   
      **callback**\ : (**eventName**\ : *string*\ , **draw_index**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **stats**\ : :js:class:`FrameStats <Sc.FrameStats>`\ , **camera**\ : :js:class:`Camera <Sc.Camera>`\ , **visiblePoints**\ : *number*\ []) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"post_draw_json"*\ , **callback**\ : (**eventName**\ : *string*\ , **metadataJson**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"post_draw_json"*
   
      **callback**\ : (**eventName**\ : *string*\ , **metadataJson**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"priority_meta_data_sent"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **prototypeInstanceCount**\ : *number*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"priority_meta_data_sent"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **prototypeInstanceCount**\ : *number*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"remap_inclusion"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **effectiveInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **originalInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"remap_inclusion"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **effectiveInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **originalInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"remap_model"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **originalModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"remap_model"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **originalModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"session_started"*\ , **callback**\ : (**eventName**\ : *string*\ , **primaryModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"session_started"*
   
      **callback**\ : (**eventName**\ : *string*\ , **primaryModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"socket_error"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"socket_error"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"socket_open_failed"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"socket_open_failed"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"stream_active"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"stream_active"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"stream_idle"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"stream_idle"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"webgl_context_lost"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"webgl_context_lost"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | setEventHandler(**eventName**\ : *"websocket_connection_closed"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"websocket_connection_closed"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setEyeDomeLightingBlurEdgeDistance

   .. rst-class:: sig-pretty-signature
   
      | setEyeDomeLightingBlurEdgeDistance(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setEyeDomeLightingBlurInterval

   .. rst-class:: sig-pretty-signature
   
      | setEyeDomeLightingBlurInterval(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setEyeDomeLightingBlurSamples

   .. rst-class:: sig-pretty-signature
   
      | setEyeDomeLightingBlurSamples(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setEyeDomeLightingEnabled

   .. rst-class:: sig-pretty-signature
   
      | setEyeDomeLightingEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **enabled**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **enabled**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setEyeDomeLightingOpacity

   .. rst-class:: sig-pretty-signature
   
      | setEyeDomeLightingOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setEyeDomeLightingShadingEdgeDistance

   .. rst-class:: sig-pretty-signature
   
      | setEyeDomeLightingShadingEdgeDistance(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setFacesVisible

   .. rst-class:: sig-pretty-signature
   
      | setFacesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **visible**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **visible**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setFaceWindingFlipped

   .. rst-class:: sig-pretty-signature
   
      | setFaceWindingFlipped(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **flipped**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **flipped**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setFixedDrawLimit

   .. rst-class:: sig-pretty-signature
   
      | setFixedDrawLimit(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setFrontFacesVisible

   .. rst-class:: sig-pretty-signature
   
      | setFrontFacesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **visible**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **visible**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setGoochBaseColorProminence

   .. rst-class:: sig-pretty-signature
   
      | setGoochBaseColorProminence(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **prominence**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **prominence**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setGoochBlue

   .. rst-class:: sig-pretty-signature
   
      | setGoochBlue(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **blue**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **blue**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setGoochLuminanceShiftStrength

   .. rst-class:: sig-pretty-signature
   
      | setGoochLuminanceShiftStrength(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **shiftStrength**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **shiftStrength**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setGoochYellow

   .. rst-class:: sig-pretty-signature
   
      | setGoochYellow(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **yellow**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **yellow**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setGroundPlane

   .. rst-class:: sig-pretty-signature
   
      | setGroundPlane(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **normal**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **normal**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setGroundPlaneWithPosition

   .. rst-class:: sig-pretty-signature
   
      | setGroundPlaneWithPosition(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **normal**\ : :js:data:`~Vector3`\ , **position**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **normal**\ : :js:data:`~Vector3`
   
      **position**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHardEdgeColor

   .. rst-class:: sig-pretty-signature
   
      | setHardEdgeColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHardEdgeOpacity

   .. rst-class:: sig-pretty-signature
   
      | setHardEdgeOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHardEdgesEnabled

   .. rst-class:: sig-pretty-signature
   
      | setHardEdgesEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHardEdgeThreshold

   .. rst-class:: sig-pretty-signature
   
      | setHardEdgeThreshold(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHardEdgeThresholdRampWidth

   .. rst-class:: sig-pretty-signature
   
      | setHardEdgeThresholdRampWidth(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHiddenLineHiddenLineColor

   .. rst-class:: sig-pretty-signature
   
      | setHiddenLineHiddenLineColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHiddenLineHighlightedElementFillColor

   .. rst-class:: sig-pretty-signature
   
      | setHiddenLineHighlightedElementFillColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHiddenLineHighlightedElementOutlineColor

   .. rst-class:: sig-pretty-signature
   
      | setHiddenLineHighlightedElementOutlineColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHiddenLineHighlightedInstanceFillColor

   .. rst-class:: sig-pretty-signature
   
      | setHiddenLineHighlightedInstanceFillColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHiddenLineHighlightedInstanceOutlineColor

   .. rst-class:: sig-pretty-signature
   
      | setHiddenLineHighlightedInstanceOutlineColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHiddenLineVisibleLineColor

   .. rst-class:: sig-pretty-signature
   
      | setHiddenLineVisibleLineColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightColorizeCompression

   .. rst-class:: sig-pretty-signature
   
      | setHighlightColorizeCompression(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **compressionLevel**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **compressionLevel**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightedElementColor

   .. rst-class:: sig-pretty-signature
   
      | setHighlightedElementColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightedElementFilter

   .. rst-class:: sig-pretty-signature
   
      | setHighlightedElementFilter(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **highlightedFilter**\ : :js:data:`HighlightFilter <Sc.HighlightFilter>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **highlightedFilter**\ : :js:data:`HighlightFilter <Sc.HighlightFilter>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightedElementOutlineColor

   .. rst-class:: sig-pretty-signature
   
      | setHighlightedElementOutlineColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **highlightedOutlineColor**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **highlightedOutlineColor**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightedInstanceColor

   .. rst-class:: sig-pretty-signature
   
      | setHighlightedInstanceColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightedInstanceFilter

   .. rst-class:: sig-pretty-signature
   
      | setHighlightedInstanceFilter(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **highlightedFilter**\ : :js:data:`HighlightFilter <Sc.HighlightFilter>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **highlightedFilter**\ : :js:data:`HighlightFilter <Sc.HighlightFilter>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightedInstanceOutlineColor

   .. rst-class:: sig-pretty-signature
   
      | setHighlightedInstanceOutlineColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **highlightedOutlineColor**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **highlightedOutlineColor**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setHighlightMode

   .. rst-class:: sig-pretty-signature
   
      | setHighlightMode(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **highlightMode**\ : :js:data:`HighlightMode <Sc.HighlightMode>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **highlightMode**\ : :js:data:`HighlightMode <Sc.HighlightMode>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setImageBasedLightingEnabled

   .. rst-class:: sig-pretty-signature
   
      | setImageBasedLightingEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setImageBasedLightingEnvironment

   .. rst-class:: sig-pretty-signature
   
      | setImageBasedLightingEnvironment(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **data**\ : *Uint8Array*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **data**\ : *Uint8Array*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setImageBasedLightingEnvironmentToDefault

   .. rst-class:: sig-pretty-signature
   
      | setImageBasedLightingEnvironmentToDefault(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setImageBasedLightingIntensity

   .. rst-class:: sig-pretty-signature
   
      | setImageBasedLightingIntensity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setImageBasedLightingMatrix

   .. rst-class:: sig-pretty-signature
   
      | setImageBasedLightingMatrix(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : :js:data:`~Matrix9`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : :js:data:`~Matrix9`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setInstancingEnabled

   .. rst-class:: sig-pretty-signature
   
      | setInstancingEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setInteractiveDrawLimitIncreaseEnabled

   .. rst-class:: sig-pretty-signature
   
      | setInteractiveDrawLimitIncreaseEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **enable**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **enable**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setInteractiveDrawLimitIncreaseInterval

   .. rst-class:: sig-pretty-signature
   
      | setInteractiveDrawLimitIncreaseInterval(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **milliseconds**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **milliseconds**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLightDecay

   .. rst-class:: sig-pretty-signature
   
      | setLightDecay(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`\ , **decay**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`
   
      **decay**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLightingEnabled

   .. rst-class:: sig-pretty-signature
   
      | setLightingEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **enabled**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **enabled**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLightPower

   .. rst-class:: sig-pretty-signature
   
      | setLightPower(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`\ , **power**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`
   
      **power**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLineJitterEnabled

   .. rst-class:: sig-pretty-signature
   
      | setLineJitterEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **enabled**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **enabled**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLineJitterFrequency

   .. rst-class:: sig-pretty-signature
   
      | setLineJitterFrequency(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLineJitterInstanceCount

   .. rst-class:: sig-pretty-signature
   
      | setLineJitterInstanceCount(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLineJitterRadius

   .. rst-class:: sig-pretty-signature
   
      | setLineJitterRadius(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setLinesVisible

   .. rst-class:: sig-pretty-signature
   
      | setLinesVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **visible**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **visible**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setMeshLevel

   .. rst-class:: sig-pretty-signature
   
      | setMeshLevel(**incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ , **level**\ : *number*\ ): *void*
   
   **Parameters**
   
      **incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
      **level**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setMetallicRoughnessMaterialOverride

   .. rst-class:: sig-pretty-signature
   
      | setMetallicRoughnessMaterialOverride(**defaultMetallicFactor**\ : *number*\ , **defaultRoughnessFactor**\ : *number*\ ): *void*
   
   **Parameters**
   
      **defaultMetallicFactor**\ : *number*
   
      **defaultRoughnessFactor**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setMinDrawLimit

   .. rst-class:: sig-pretty-signature
   
      | setMinDrawLimit(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setMinFrameRate

   .. rst-class:: sig-pretty-signature
   
      | setMinFrameRate(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setMinIncrementalFrameRate

   .. rst-class:: sig-pretty-signature
   
      | setMinIncrementalFrameRate(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setMinInteractiveFrameRate

   .. rst-class:: sig-pretty-signature
   
      | setMinInteractiveFrameRate(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setPointShape

   .. rst-class:: sig-pretty-signature
   
      | setPointShape(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **shape**\ : :js:data:`PointShape <Sc.PointShape>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **shape**\ : :js:data:`PointShape <Sc.PointShape>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setPointSize

   .. rst-class:: sig-pretty-signature
   
      | setPointSize(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **size**\ : *number*\ , **unit**\ : :js:data:`PointSizeUnit <Sc.PointSizeUnit>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **size**\ : *number*
   
      **unit**\ : :js:data:`PointSizeUnit <Sc.PointSizeUnit>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setPointsVisible

   .. rst-class:: sig-pretty-signature
   
      | setPointsVisible(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **visible**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **visible**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setPointVisibilityTest

   .. rst-class:: sig-pretty-signature
   
      | setPointVisibilityTest(**points**\ : :js:data:`~Vector3`\ [], **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **points**\ : :js:data:`~Vector3`\ []
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setPostInputDelay

   .. rst-class:: sig-pretty-signature
   
      | setPostInputDelay(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSilhouetteColor

   .. rst-class:: sig-pretty-signature
   
      | setSilhouetteColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSilhouetteEnabled

   .. rst-class:: sig-pretty-signature
   
      | setSilhouetteEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSilhouetteOpacity

   .. rst-class:: sig-pretty-signature
   
      | setSilhouetteOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSilhouetteThreshold

   .. rst-class:: sig-pretty-signature
   
      | setSilhouetteThreshold(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSilhouetteThresholdRampWidth

   .. rst-class:: sig-pretty-signature
   
      | setSilhouetteThresholdRampWidth(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleReflectionAttenuation

   .. rst-class:: sig-pretty-signature
   
      | setSimpleReflectionAttenuation(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **nearDistance**\ : *number*\ , **farDistance**\ : *number*\ , **unit**\ : :js:data:`SimpleReflectionAttenuationUnit <Sc.SimpleReflectionAttenuationUnit>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **nearDistance**\ : *number*
   
      **farDistance**\ : *number*
   
      **unit**\ : :js:data:`SimpleReflectionAttenuationUnit <Sc.SimpleReflectionAttenuationUnit>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleReflectionBlurInterval

   .. rst-class:: sig-pretty-signature
   
      | setSimpleReflectionBlurInterval(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ , **unit**\ : :js:data:`BlurIntervalUnit <Sc.BlurIntervalUnit>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
      **unit**\ : :js:data:`BlurIntervalUnit <Sc.BlurIntervalUnit>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleReflectionBlurSamples

   .. rst-class:: sig-pretty-signature
   
      | setSimpleReflectionBlurSamples(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleReflectionEnabled

   .. rst-class:: sig-pretty-signature
   
      | setSimpleReflectionEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleReflectionFadeAngle

   .. rst-class:: sig-pretty-signature
   
      | setSimpleReflectionFadeAngle(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **degrees**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **degrees**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleReflectionOpacity

   .. rst-class:: sig-pretty-signature
   
      | setSimpleReflectionOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleShadowBlurInterval

   .. rst-class:: sig-pretty-signature
   
      | setSimpleShadowBlurInterval(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleShadowBlurSamples

   .. rst-class:: sig-pretty-signature
   
      | setSimpleShadowBlurSamples(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleShadowColor

   .. rst-class:: sig-pretty-signature
   
      | setSimpleShadowColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleShadowEnabled

   .. rst-class:: sig-pretty-signature
   
      | setSimpleShadowEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleShadowInteractiveUpdateEnabled

   .. rst-class:: sig-pretty-signature
   
      | setSimpleShadowInteractiveUpdateEnabled(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *boolean*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *boolean*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleShadowOpacity

   .. rst-class:: sig-pretty-signature
   
      | setSimpleShadowOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSimpleShadowResolution

   .. rst-class:: sig-pretty-signature
   
      | setSimpleShadowResolution(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **pixels**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **pixels**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setSsrQuality

   .. rst-class:: sig-pretty-signature
   
      | setSsrQuality(**opts**\ : :js:class:`SsrQualityConfig <Sc.SsrQualityConfig>`\ ): *void*
   
   **Parameters**
   
      **opts**\ : :js:class:`SsrQualityConfig <Sc.SsrQualityConfig>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setStreamCutoffScale

   .. rst-class:: sig-pretty-signature
   
      | setStreamCutoffScale(**value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setStreamIdleMarker

   .. rst-class:: sig-pretty-signature
   
      | setStreamIdleMarker(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.setToonBandCount

   .. rst-class:: sig-pretty-signature
   
      | setToonBandCount(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **bandCount**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **bandCount**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setToonSpecularFactor

   .. rst-class:: sig-pretty-signature
   
      | setToonSpecularFactor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **specularFactor**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **specularFactor**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setTransparencyMode

   .. rst-class:: sig-pretty-signature
   
      | setTransparencyMode(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : :js:data:`TransparencyMode <Sc.TransparencyMode>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : :js:data:`TransparencyMode <Sc.TransparencyMode>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setUnhighlightedColor

   .. rst-class:: sig-pretty-signature
   
      | setUnhighlightedColor(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setUnhighlightedFilter

   .. rst-class:: sig-pretty-signature
   
      | setUnhighlightedFilter(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **highlightedFilter**\ : :js:data:`HighlightFilter <Sc.HighlightFilter>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **highlightedFilter**\ : :js:data:`HighlightFilter <Sc.HighlightFilter>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setVisibilityByAttachment

   .. rst-class:: sig-pretty-signature
   
      | setVisibilityByAttachment(**attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **setVisibility**\ : :js:data:`SetVisibility <Sc.SetVisibility>`\ ): *void*
   
   **Parameters**
   
      **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`
   
      **setVisibility**\ : :js:data:`SetVisibility <Sc.SetVisibility>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setXRayMaterial

   .. rst-class:: sig-pretty-signature
   
      | setXRayMaterial(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **group**\ : :js:data:`XRayGroup <Sc.XRayGroup>`\ , **element**\ : :js:data:`ElementType <Sc.ElementType>`\ , **color**\ : :js:data:`~Vector4`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **group**\ : :js:data:`XRayGroup <Sc.XRayGroup>`
   
      **element**\ : :js:data:`ElementType <Sc.ElementType>`
   
      **color**\ : :js:data:`~Vector4`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setXRayOpacity

   .. rst-class:: sig-pretty-signature
   
      | setXRayOpacity(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **element**\ : :js:data:`ElementType <Sc.ElementType>`\ , **value**\ : *number*\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **element**\ : :js:data:`ElementType <Sc.ElementType>`
   
      **value**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.setXRayTransparencyMode

   .. rst-class:: sig-pretty-signature
   
      | setXRayTransparencyMode(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **value**\ : :js:data:`TransparencyMode <Sc.TransparencyMode>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **value**\ : :js:data:`TransparencyMode <Sc.TransparencyMode>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.shutDown

   .. rst-class:: sig-pretty-signature
   
      | shutDown(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.startComparison

   .. rst-class:: sig-pretty-signature
   
      | startComparison(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **instanceSet1**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ , **instanceSet2**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **instanceSet1**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
      **instanceSet2**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.startExplode

   .. rst-class:: sig-pretty-signature
   
      | startExplode(**incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`\ , **center**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **incs**\ : :js:data:`InstanceIncs <Sc.InstanceIncs>`
   
      **center**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.suspendDrawing

   .. rst-class:: sig-pretty-signature
   
      | suspendDrawing(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.testPointVisibility

   .. rst-class:: sig-pretty-signature
   
      | testPointVisibility(**points**\ : :js:data:`~Vector3`\ [], **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *Promise*
   
   **Parameters**
   
      **points**\ : :js:data:`~Vector3`\ []
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.throttleLoad

   .. rst-class:: sig-pretty-signature
   
      | throttleLoad(**newPauseInterval**\ : *number*\ , **throttleDuration**\ : *number*\ ): *void*
   
   **Parameters**
   
      **newPauseInterval**\ : *number*
   
      **throttleDuration**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.triangulatePolygon

   .. rst-class:: sig-pretty-signature
   
      | triangulatePolygon(**polygonPoints**\ : (*number*\ [] \| *Float32Array*\ ), **normal**\ : :js:data:`~Vector3`\ ): *number*\ []
   
   **Parameters**
   
      **polygonPoints**\ : (*number*\ [] \| *Float32Array*\ )
   
      **normal**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *number*\ []
   



.. js:method:: Sc.Instance.truncateMetaData

   .. rst-class:: sig-pretty-signature
   
      | truncateMetaData(**dataIds**\ : :js:data:`DataIds <Sc.DataIds>`\ ): *Promise*
   
   **Parameters**
   
      **dataIds**\ : :js:data:`DataIds <Sc.DataIds>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.unsetAllColors

   .. rst-class:: sig-pretty-signature
   
      | unsetAllColors(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.unsetAllHighlighted

   .. rst-class:: sig-pretty-signature
   
      | unsetAllHighlighted(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.unsetAllOpacity

   .. rst-class:: sig-pretty-signature
   
      | unsetAllOpacity(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.unsetAllXRay

   .. rst-class:: sig-pretty-signature
   
      | unsetAllXRay(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.unsetCurrentView

   .. rst-class:: sig-pretty-signature
   
      | unsetCurrentView(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.unsetEventHandler

   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"announce_model"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"announce_model"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"bad_data"*\ , **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`BadDataData <Sc.BadDataData>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"bad_data"*
   
      **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`BadDataData <Sc.BadDataData>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"bounding"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"bounding"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"camera_set"*\ , **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"camera_set"*
   
      **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"capping_idle"*\ , **callback**\ : (**eventName**\ : *string*\ , **isIdle**\ : *boolean*\ , **cappedInstanceCount**\ : *number*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"capping_idle"*
   
      **callback**\ : (**eventName**\ : *string*\ , **isIdle**\ : *boolean*\ , **cappedInstanceCount**\ : *number*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"client_message"*\ , **callback**\ : (**eventName**\ : *string*\ , **data**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"client_message"*
   
      **callback**\ : (**eventName**\ : *string*\ , **data**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"draw_complete"*\ , **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"draw_complete"*
   
      **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"draw_idle"*\ , **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"draw_idle"*
   
      **callback**\ : (**eventName**\ : *string*\ , **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"inclusion"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **inclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"inclusion"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **inclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"meta_data"*\ , **callback**\ : (**eventName**\ : *string*\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **dataKey**\ : :js:data:`DataKey <Sc.DataKey.Invalid>`\ , **data**\ : *Uint8Array*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"meta_data"*
   
      **callback**\ : (**eventName**\ : *string*\ , **modelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **dataKey**\ : :js:data:`DataKey <Sc.DataKey.Invalid>`\ , **data**\ : *Uint8Array*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"missing_model"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **modelPath**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"missing_model"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **modelPath**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"network_receive_data"*\ , **callback**\ : (**eventName**\ : *string*\ , **dataSize**\ : *number*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"network_receive_data"*
   
      **callback**\ : (**eventName**\ : *string*\ , **dataSize**\ : *number*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"open_model_failed"*\ , **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`OpenModelFailedData <Sc.OpenModelFailedData>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"open_model_failed"*
   
      **callback**\ : (**eventName**\ : *string*\ , **data**\ : :js:class:`OpenModelFailedData <Sc.OpenModelFailedData>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"post_draw"*\ , **callback**\ : (**eventName**\ : *string*\ , **draw_index**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **stats**\ : :js:class:`FrameStats <Sc.FrameStats>`\ , **camera**\ : :js:class:`Camera <Sc.Camera>`\ , **visiblePoints**\ : *number*\ []) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"post_draw"*
   
      **callback**\ : (**eventName**\ : *string*\ , **draw_index**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **stats**\ : :js:class:`FrameStats <Sc.FrameStats>`\ , **camera**\ : :js:class:`Camera <Sc.Camera>`\ , **visiblePoints**\ : *number*\ []) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"post_draw_json"*\ , **callback**\ : (**eventName**\ : *string*\ , **metadataJson**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"post_draw_json"*
   
      **callback**\ : (**eventName**\ : *string*\ , **metadataJson**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"priority_meta_data_sent"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **prototypeInstanceCount**\ : *number*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"priority_meta_data_sent"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **prototypeInstanceCount**\ : *number*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"remap_inclusion"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **effectiveInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **originalInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"remap_inclusion"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **effectiveInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ , **originalInclusionKey**\ : :js:data:`InclusionKey <Sc.InclusionKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"remap_model"*\ , **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **originalModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"remap_model"*
   
      **callback**\ : (**eventName**\ : *string*\ , **attachScope**\ : :js:data:`AttachScope <Sc.AttachScope.OfInitialEmptyModel>`\ , **effectiveModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ , **originalModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"session_started"*\ , **callback**\ : (**eventName**\ : *string*\ , **primaryModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"session_started"*
   
      **callback**\ : (**eventName**\ : *string*\ , **primaryModelKey**\ : :js:data:`ModelKey <Sc.ModelKey>`\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"socket_error"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"socket_error"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"socket_open_failed"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"socket_open_failed"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"stream_active"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"stream_active"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"stream_idle"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"stream_idle"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"webgl_context_lost"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"webgl_context_lost"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | unsetEventHandler(**eventName**\ : *"websocket_connection_closed"*\ , **callback**\ : (**eventName**\ : *string*\ ) => *void*\ ): *void*
   
   **Parameters**
   
      **eventName**\ : *"websocket_connection_closed"*
   
      **callback**\ : (**eventName**\ : *string*\ ) => *void*
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.unsetXRayMaterial

   .. rst-class:: sig-pretty-signature
   
      | unsetXRayMaterial(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **group**\ : :js:data:`XRayGroup <Sc.XRayGroup>`\ , **element**\ : :js:data:`ElementType <Sc.ElementType>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **group**\ : :js:data:`XRayGroup <Sc.XRayGroup>`
   
      **element**\ : :js:data:`ElementType <Sc.ElementType>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.updateLight

   .. rst-class:: sig-pretty-signature
   
      | updateLight(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`\ , **type**\ : :js:data:`LightType <Sc.LightType>`\ , **space**\ : :js:data:`LightSpace <Sc.LightSpace>`\ , **position**\ : :js:data:`~Vector3`\ , **color**\ : :js:data:`~Vector3`\ ): *void*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **key**\ : :js:data:`LightKey <Sc.LightKey.Invalid>`
   
      **type**\ : :js:data:`LightType <Sc.LightType>`
   
      **space**\ : :js:data:`LightSpace <Sc.LightSpace>`
   
      **position**\ : :js:data:`~Vector3`
   
      **color**\ : :js:data:`~Vector3`
   
   
   **Returns**\ : *void*
   



.. js:method:: Sc.Instance.waitForImageDecoding

   .. rst-class:: sig-pretty-signature
   
      | waitForImageDecoding(): *Promise*
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.Instance.worldSelectByRay

   .. rst-class:: sig-pretty-signature
   
      | worldSelectByRay(**viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`\ , **ray**\ : :js:class:`~IRay`\ , **config**\ : :js:class:`RaySelectionConfig <Sc.RaySelectionConfig>`\ ): *Promise*
   
   **Parameters**
   
      **viewKey**\ : :js:data:`ViewKey <Sc.ViewKey>`
   
      **ray**\ : :js:class:`~IRay`
   
      **config**\ : :js:class:`RaySelectionConfig <Sc.RaySelectionConfig>`
   
   
   **Returns**\ : *Promise*
   





