.. role:: clio-readonly
   :class: clio-flag clio-flag-readonly


####
View
####

.. js:class:: wv.View

   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~wv.View.domElements`
   * :js:data:`~wv.View.floorplanManager`
   * :js:data:`~wv.View.operatorManager`
   * :js:data:`~wv.View.overlayManager`
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wv.View.axisTriad`
   * :js:func:`~wv.View.id`
   * :js:func:`~wv.View.inputMonitor`
   * :js:func:`~wv.View.navCube`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.View.addLight`
   * :js:meth:`~wv.View.advanceIncrementalSelection`
   * :js:meth:`~wv.View.beginConvexPolyhedronSelection`
   * :js:meth:`~wv.View.beginRayDrillSelection`
   * :js:meth:`~wv.View.beginScreenSelectByArea`
   * :js:meth:`~wv.View.beginSphereSelection`
   * :js:meth:`~wv.View.centerCameraOnNode`
   * :js:meth:`~wv.View.clearLights`
   * :js:meth:`~wv.View.compositePickFromPoint`
   * :js:meth:`~wv.View.endComparison`
   * :js:meth:`~wv.View.endIncrementalSelection`
   * :js:meth:`~wv.View.fitBounding`
   * :js:meth:`~wv.View.fitNodes`
   * :js:meth:`~wv.View.fitWorld`
   * :js:meth:`~wv.View.getAmbientLightColor`
   * :js:meth:`~wv.View.getAmbientOcclusionEnabled`
   * :js:meth:`~wv.View.getAmbientOcclusionRadius`
   * :js:meth:`~wv.View.getAntiAliasingMode`
   * :js:meth:`~wv.View.getAxisTriad`
   * :js:meth:`~wv.View.getBackfacesVisible`
   * :js:meth:`~wv.View.getBackgroundColor`
   * :js:meth:`~wv.View.getBloomEnabled`
   * :js:meth:`~wv.View.getBloomIntensityScale`
   * :js:meth:`~wv.View.getBloomLayers`
   * :js:meth:`~wv.View.getBloomThreshold`
   * :js:meth:`~wv.View.getBloomThresholdRampWidth`
   * :js:meth:`~wv.View.getBoundingCalculationIgnoresInvisible`
   * :js:meth:`~wv.View.getCamera`
   * :js:meth:`~wv.View.getCanvasSize`
   * :js:meth:`~wv.View.getDrawMode`
   * :js:meth:`~wv.View.getDrawStrategy`
   * :js:meth:`~wv.View.getEyeDomeLightingBlurEdgeDistance`
   * :js:meth:`~wv.View.getEyeDomeLightingBlurInterval`
   * :js:meth:`~wv.View.getEyeDomeLightingBlurSamples`
   * :js:meth:`~wv.View.getEyeDomeLightingEnabled`
   * :js:meth:`~wv.View.getEyeDomeLightingOpacity`
   * :js:meth:`~wv.View.getEyeDomeLightingShadingEdgeDistance`
   * :js:meth:`~wv.View.getFaceVisibility`
   * :js:meth:`~wv.View.getFullCameraMatrix`
   * :js:meth:`~wv.View.getGoochBaseColorProminence`
   * :js:meth:`~wv.View.getGoochBlue`
   * :js:meth:`~wv.View.getGoochLuminanceShiftStrength`
   * :js:meth:`~wv.View.getGoochYellow`
   * :js:meth:`~wv.View.getGroundPlane`
   * :js:meth:`~wv.View.getHardEdgeColor`
   * :js:meth:`~wv.View.getHardEdgeOpacity`
   * :js:meth:`~wv.View.getHardEdgesEnabled`
   * :js:meth:`~wv.View.getHardEdgeThreshold`
   * :js:meth:`~wv.View.getHardEdgeThresholdRampWidth`
   * :js:meth:`~wv.View.getHiddenLineSettings`
   * :js:meth:`~wv.View.getImageBasedLightingEnabled`
   * :js:meth:`~wv.View.getImageBasedLightingIntensity`
   * :js:meth:`~wv.View.getImageBasedLightingOrientation`
   * :js:meth:`~wv.View.getInteractiveDrawLimitIncreaseEnabled`
   * :js:meth:`~wv.View.getLight`
   * :js:meth:`~wv.View.getLightingEnabled`
   * :js:meth:`~wv.View.getLightKeys`
   * :js:meth:`~wv.View.getLineJitterEnabled`
   * :js:meth:`~wv.View.getLineJitterFrequency`
   * :js:meth:`~wv.View.getLineJitterInstanceCount`
   * :js:meth:`~wv.View.getLineJitterRadius`
   * :js:meth:`~wv.View.getLineVisibility`
   * :js:meth:`~wv.View.getMassageExtremeCameras`
   * :js:meth:`~wv.View.getNavCube`
   * :js:meth:`~wv.View.getPointShape`
   * :js:meth:`~wv.View.getPointSize`
   * :js:meth:`~wv.View.getProjectionMatrix`
   * :js:meth:`~wv.View.getProjectionMode`
   * :js:meth:`~wv.View.getSilhouetteColor`
   * :js:meth:`~wv.View.getSilhouetteEnabled`
   * :js:meth:`~wv.View.getSilhouetteOpacity`
   * :js:meth:`~wv.View.getSilhouetteThreshold`
   * :js:meth:`~wv.View.getSilhouetteThresholdRampWidth`
   * :js:meth:`~wv.View.getSimpleReflectionAttenuation`
   * :js:meth:`~wv.View.getSimpleReflectionBlurInterval`
   * :js:meth:`~wv.View.getSimpleReflectionBlurSamples`
   * :js:meth:`~wv.View.getSimpleReflectionEnabled`
   * :js:meth:`~wv.View.getSimpleReflectionFadeAngle`
   * :js:meth:`~wv.View.getSimpleReflectionOpacity`
   * :js:meth:`~wv.View.getSimpleShadowBlurInterval`
   * :js:meth:`~wv.View.getSimpleShadowBlurSamples`
   * :js:meth:`~wv.View.getSimpleShadowColor`
   * :js:meth:`~wv.View.getSimpleShadowEnabled`
   * :js:meth:`~wv.View.getSimpleShadowInteractiveUpdateEnabled`
   * :js:meth:`~wv.View.getSimpleShadowOpacity`
   * :js:meth:`~wv.View.getSimpleShadowResolution`
   * :js:meth:`~wv.View.getToonShadingBandCount`
   * :js:meth:`~wv.View.getToonShadingSpecularFactor`
   * :js:meth:`~wv.View.getViewMatrix`
   * :js:meth:`~wv.View.getViewOrientationCamera`
   * :js:meth:`~wv.View.injectViewOrientationChangeEvent`
   * :js:meth:`~wv.View.isolateNodes`
   * :js:meth:`~wv.View.pickAllFromPoint`
   * :js:meth:`~wv.View.pickAllFromRay`
   * :js:meth:`~wv.View.pickFromPoint`
   * :js:meth:`~wv.View.pickFromRay`
   * :js:meth:`~wv.View.pointToWindowPosition`
   * :js:meth:`~wv.View.projectPoint`
   * :js:meth:`~wv.View.raycastFromPoint`
   * :js:meth:`~wv.View.redraw`
   * :js:meth:`~wv.View.removeLight`
   * :js:meth:`~wv.View.resetCamera`
   * :js:meth:`~wv.View.setAmbientLightColor`
   * :js:meth:`~wv.View.setAmbientOcclusionEnabled`
   * :js:meth:`~wv.View.setAmbientOcclusionRadius`
   * :js:meth:`~wv.View.setAntiAliasingMode`
   * :js:meth:`~wv.View.setBackfacesVisible`
   * :js:meth:`~wv.View.setBackgroundColor`
   * :js:meth:`~wv.View.setBloomEnabled`
   * :js:meth:`~wv.View.setBloomIntensityScale`
   * :js:meth:`~wv.View.setBloomLayers`
   * :js:meth:`~wv.View.setBloomThreshold`
   * :js:meth:`~wv.View.setBloomThresholdRampWidth`
   * :js:meth:`~wv.View.setBoundingCalculationIgnoresInvisible`
   * :js:meth:`~wv.View.setCamera`
   * :js:meth:`~wv.View.setDisplayIncompleteFrames`
   * :js:meth:`~wv.View.setDrawMode`
   * :js:meth:`~wv.View.setEyeDomeLightingBlurEdgeDistance`
   * :js:meth:`~wv.View.setEyeDomeLightingBlurInterval`
   * :js:meth:`~wv.View.setEyeDomeLightingBlurSamples`
   * :js:meth:`~wv.View.setEyeDomeLightingEnabled`
   * :js:meth:`~wv.View.setEyeDomeLightingOpacity`
   * :js:meth:`~wv.View.setEyeDomeLightingShadingEdgeDistance`
   * :js:meth:`~wv.View.setFaceVisibility`
   * :js:meth:`~wv.View.setGoochBaseColorProminence`
   * :js:meth:`~wv.View.setGoochBlue`
   * :js:meth:`~wv.View.setGoochLuminanceShiftStrength`
   * :js:meth:`~wv.View.setGoochYellow`
   * :js:meth:`~wv.View.setGroundPlane`
   * :js:meth:`~wv.View.setHardEdgeColor`
   * :js:meth:`~wv.View.setHardEdgeOpacity`
   * :js:meth:`~wv.View.setHardEdgesEnabled`
   * :js:meth:`~wv.View.setHardEdgeThreshold`
   * :js:meth:`~wv.View.setHardEdgeThresholdRampWidth`
   * :js:meth:`~wv.View.setImageBasedLightingEnabled`
   * :js:meth:`~wv.View.setImageBasedLightingEnvironment`
   * :js:meth:`~wv.View.setImageBasedLightingIntensity`
   * :js:meth:`~wv.View.setImageBasedLightingOrientation`
   * :js:meth:`~wv.View.setInitialCamera`
   * :js:meth:`~wv.View.setInteractiveDrawDelay`
   * :js:meth:`~wv.View.setInteractiveDrawLimitIncreaseEnabled`
   * :js:meth:`~wv.View.setLightingEnabled`
   * :js:meth:`~wv.View.setLineJitterEnabled`
   * :js:meth:`~wv.View.setLineJitterFrequency`
   * :js:meth:`~wv.View.setLineJitterInstanceCount`
   * :js:meth:`~wv.View.setLineJitterRadius`
   * :js:meth:`~wv.View.setLineVisibility`
   * :js:meth:`~wv.View.setMassageExtremeCameras`
   * :js:meth:`~wv.View.setMinimumFramerate`
   * :js:meth:`~wv.View.setPointShape`
   * :js:meth:`~wv.View.setPointSize`
   * :js:meth:`~wv.View.setPointVisibilityTest`
   * :js:meth:`~wv.View.setProjectionMode`
   * :js:meth:`~wv.View.setSilhouetteColor`
   * :js:meth:`~wv.View.setSilhouetteEnabled`
   * :js:meth:`~wv.View.setSilhouetteOpacity`
   * :js:meth:`~wv.View.setSilhouetteThreshold`
   * :js:meth:`~wv.View.setSilhouetteThresholdRampWidth`
   * :js:meth:`~wv.View.setSimpleReflectionAttenuation`
   * :js:meth:`~wv.View.setSimpleReflectionBlurInterval`
   * :js:meth:`~wv.View.setSimpleReflectionBlurSamples`
   * :js:meth:`~wv.View.setSimpleReflectionEnabled`
   * :js:meth:`~wv.View.setSimpleReflectionFadeAngle`
   * :js:meth:`~wv.View.setSimpleReflectionOpacity`
   * :js:meth:`~wv.View.setSimpleShadowBlurInterval`
   * :js:meth:`~wv.View.setSimpleShadowBlurSamples`
   * :js:meth:`~wv.View.setSimpleShadowColor`
   * :js:meth:`~wv.View.setSimpleShadowEnabled`
   * :js:meth:`~wv.View.setSimpleShadowInteractiveUpdateEnabled`
   * :js:meth:`~wv.View.setSimpleShadowOpacity`
   * :js:meth:`~wv.View.setSimpleShadowResolution`
   * :js:meth:`~wv.View.setStatisticsDisplayVisibility`
   * :js:meth:`~wv.View.setToonShadingBandCount`
   * :js:meth:`~wv.View.setToonShadingSpecularFactor`
   * :js:meth:`~wv.View.setTransparencyMode`
   * :js:meth:`~wv.View.setViewOrientation`
   * :js:meth:`~wv.View.setXRayColor`
   * :js:meth:`~wv.View.setXRayOpacity`
   * :js:meth:`~wv.View.setXRayTransparencyMode`
   * :js:meth:`~wv.View.startComparison`
   * :js:meth:`~wv.View.testPointVisibility`
   * :js:meth:`~wv.View.unprojectPoint`
   * :js:meth:`~wv.View.unsetDefaultCamera`
   * :js:meth:`~wv.View.unsetXRayColor`
   * :js:meth:`~wv.View.updateCamera`
   * :js:meth:`~wv.View.updateLight`
   
   



.. rst-class:: kind-group kind-properties

.. rubric:: Properties
   :class: kind-group-title


.. js:data:: wv.View.domElements

      .. rst-class:: clio-flags
      
         :clio-readonly:`readonly`
      
      .. rst-class:: sig-pretty-signature
      
         | domElements: *DomElements*
      



.. js:data:: wv.View.floorplanManager

      .. rst-class:: clio-flags
      
         :clio-readonly:`readonly`
      
      .. rst-class:: sig-pretty-signature
      
         | floorplanManager: :js:class:`FloorplanManager <wv.Floorplan.FloorplanManager>`
      



.. js:data:: wv.View.operatorManager

      .. rst-class:: clio-flags
      
         :clio-readonly:`readonly`
      
      .. rst-class:: sig-pretty-signature
      
         | operatorManager: :js:class:`OperatorManager <wv.OperatorManager>`
      



.. js:data:: wv.View.overlayManager

      .. rst-class:: clio-flags
      
         :clio-readonly:`readonly`
      
      .. rst-class:: sig-pretty-signature
      
         | overlayManager: :js:class:`OverlayManager <wv.Overlay.OverlayManager>`
      



.. rst-class:: kind-group kind-accessors

.. rubric:: Accessors
   :class: kind-group-title


.. js:method:: wv.View.axisTriad

      .. rst-class:: sig-pretty-signature
      
         | *get* axisTriad(): :js:class:`AxisTriad <wv.AxisTriad>`
      
      **Returns**\ : :js:class:`AxisTriad <wv.AxisTriad>`
      



.. js:method:: wv.View.id

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



.. js:method:: wv.View.inputMonitor

      .. rst-class:: sig-pretty-signature
      
         | *get* inputMonitor(): *InputMonitor*
      
      **Returns**\ : *InputMonitor*
      



.. js:method:: wv.View.navCube

      .. rst-class:: sig-pretty-signature
      
         | *get* navCube(): :js:class:`NavCube <wv.NavCube>`
      
      **Returns**\ : :js:class:`NavCube <wv.NavCube>`
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: wv.View.addLight

      .. rst-class:: sig-pretty-signature
      
         | addLight(**light**\ : :js:class:`Light <wv.Light>`\ ): *Promise*
      
      Adds a light to the scene. The returned promise may be rejected if there are too many lights in the scene. See [[Light]].
      
      See also:
      
      
      - [[clearLights]]
      - [[removeLight]]
      - [[updateLight]]
      - [[setAmbientLightColor]]
      
      **Parameters**
      
      
         **light**\ : :js:class:`Light <wv.Light>`
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.advanceIncrementalSelection

      .. rst-class:: sig-pretty-signature
      
         | advanceIncrementalSelection(**handle**\ : :js:class:`IncrementalSelectionId <wv.Selection.IncrementalSelectionId>`\ ): *Promise*
      
      Returns the next batch of geometry selected by the supplied selection context.
      
      **Parameters**
      
      
         **handle**\ : :js:class:`IncrementalSelectionId <wv.Selection.IncrementalSelectionId>`
      
      
            The handle to an active area selection context.
      
      
      
      **Returns**\ : *Promise*
      
      
         Returns selected items. If the resulting list is null then there are no more items to select.
      
      



.. js:method:: wv.View.beginConvexPolyhedronSelection

      .. rst-class:: sig-pretty-signature
      
         | beginConvexPolyhedronSelection(**volumePlanes**\ : :js:class:`Plane <wv.Plane>`\ [], **heuristicOrigin**\ : :js:class:`Point3 <wv.Point3>`\ , **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`\ ): *Promise*
      
      Creates a new and active selection context for the provided selection volume. The selection volume is a convex polyhedron defined by the bounded intersection of its half-spaces.
      
      **Parameters**
      
      
         **volumePlanes**\ : :js:class:`Plane <wv.Plane>`\ []
      
      
            The planes used to define volume. A point p is inside the volume if and only if (plane.determineSide(p) == true) for all supplied planes.
      
      
         **heuristicOrigin**\ : :js:class:`Point3 <wv.Point3>`
      
      
            A point used to compute distances against for prioritizing returned results. This is typically (but not necessarily) the center of the volume.
      
      
         **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`
      
      
            The configuration object used for this selection operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         The handle for the selection context.
      
      



.. js:method:: wv.View.beginRayDrillSelection

      .. rst-class:: sig-pretty-signature
      
         | beginRayDrillSelection(**rayCssOrigin**\ : :js:class:`Point2 <wv.Point2>`\ , **rayCssBoxRadius**\ : *number*\ , **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`\ ): *Promise*
      
      Creates a new and active selection context for the provided selection ray. The ray is created at the supplied ray origin and is cast into the scene. Faces are selected if they lie along the ray. Lines and points are selected if they lie within the ray's box radius.
      
      Note: Somewhat confusingly ray drill selection is actually a selection by volume. The provided ray origin and radius are used to create a frustum to preform the selection. This has some consequences. For example, the ``SelectionResult``\ s returned by advancing a ray drill selection will not have selection positions, since they were not selected at a single point.
      
      **Parameters**
      
      
         **rayCssOrigin**\ : :js:class:`Point2 <wv.Point2>`
      
      
            The coordinate in CSS pixel space for the selection ray's origin.
      
      
         **rayCssBoxRadius**\ : *number*
      
      
            The radius around the ray in CSS pixel space used for line and point selection proximity.
      
      
         **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`
      
      
            The configuration object used for this selection operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         The handle for the selection context.
      
      



.. js:method:: wv.View.beginScreenSelectByArea

      .. rst-class:: sig-pretty-signature
      
         | beginScreenSelectByArea(**areaCssMin**\ : :js:class:`Point2 <wv.Point2>`\ , **areaCssMax**\ : :js:class:`Point2 <wv.Point2>`\ , **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`\ ): *Promise*
      
      Creates a new and active selection context for the provided selection window.
      
      **Parameters**
      
      
         **areaCssMin**\ : :js:class:`Point2 <wv.Point2>`
      
      
            The minimum coodinate in CSS pixel space for the selection window.
      
      
         **areaCssMax**\ : :js:class:`Point2 <wv.Point2>`
      
      
            The maximum coodinate in CSS pixel space for the selection window.
      
      
         **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`
      
      
            The configuration object used for this selection operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         The handle for the selection context.
      
      



.. js:method:: wv.View.beginSphereSelection

      .. rst-class:: sig-pretty-signature
      
         | beginSphereSelection(**sphereCenter**\ : :js:class:`Point3 <wv.Point3>`\ , **sphereRadius**\ : *number*\ , **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`\ ): *Promise*
      
      Creates a new and active selection context for the provided selection sphere.
      
      **Parameters**
      
      
         **sphereCenter**\ : :js:class:`Point3 <wv.Point3>`
      
      
            The center of the selection sphere.
      
      
         **sphereRadius**\ : *number*
      
      
            The radius of the selection sphere.
      
      
         **config**\ : :js:class:`IncrementalPickConfig <wv.IncrementalPickConfig>`
      
      
            The configuration object used for this selection operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         The handle for the selection context.
      
      



.. js:method:: wv.View.centerCameraOnNode

      .. rst-class:: sig-pretty-signature
      
         | centerCameraOnNode(**nodeId**\ : *number*\ , **duration**\ : *number*\ ?, **camera**\ : :js:class:`Camera <wv.Camera>`\ ?): *Promise*
      
      Centers the camera on a specified node id.
      
      **Parameters**
      
      
         **nodeId**\ : *number*
      
         **duration**\ : *number* = 0
      
      
            the number of milliseconds to transition to the new camera.
      
      
         **camera**\ : :js:class:`Camera <wv.Camera>` = ...
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.clearLights

      .. rst-class:: sig-pretty-signature
      
         | clearLights(): *void*
      
      Removes all lights from the scene. When there are no lights, material colors are drawn at full intensity. This has the same visual effect as calling ``setLightingEnabled(false)``\ .
      
      See also:
      
      
      - [[InstanceModifier.DoNotLight]]
      - [[setLightingEnabled]]
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.compositePickFromPoint

      .. rst-class:: sig-pretty-signature
      
         | compositePickFromPoint(**point**\ : :js:class:`Point2 <wv.Point2>`\ , **config**\ : :js:class:`PickConfig <wv.PickConfig>`\ ): *Promise*
      
      Performs a composite picking operation.  This operation will return all candidate Node entities according to the PickConfig.
      
      **Parameters**
      
      
         **point**\ : :js:class:`Point2 <wv.Point2>`
      
      
            Canvas position to pick from.
      
      
         **config**\ : :js:class:`PickConfig <wv.PickConfig>`
      
      
            The configuration object used for this picking operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         An object containing the result of the picking operation.
      
      



.. js:method:: wv.View.endComparison

      .. rst-class:: sig-pretty-signature
      
         | endComparison(): *void*
      
      Disables a visual comparison of two sets of nodes enabled by [[startComparison]].
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.endIncrementalSelection

      .. rst-class:: sig-pretty-signature
      
         | endIncrementalSelection(**handle**\ : :js:class:`IncrementalSelectionId <wv.Selection.IncrementalSelectionId>`\ ): *Promise*
      
      Deactivates and destroys the provided selection context.
      
      **Parameters**
      
      
         **handle**\ : :js:class:`IncrementalSelectionId <wv.Selection.IncrementalSelectionId>`
      
      
            The selection context to destroy.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.fitBounding

      .. rst-class:: sig-pretty-signature
      
         | fitBounding(**bounding**\ : :js:class:`Box <wv.Box>`\ , **duration**\ : *number*\ ?, **camera**\ : :js:class:`Camera <wv.Camera>`\ ?): *Promise*
      
      Fits the camera to the bounding box.
      
      **Parameters**
      
      
         **bounding**\ : :js:class:`Box <wv.Box>`
      
      
            bounding box to fit the camera.
      
      
         **duration**\ : *number* = DefaultTransitionDuration
      
      
            Time in milliseconds for the camera transition to the new camera view.
      
      
         **camera**\ : :js:class:`Camera <wv.Camera>` = ...
      
      
      **Returns**\ : *Promise*
      
      
         A promise that will be resolved once the transition is complete.
      
      



.. js:method:: wv.View.fitNodes

      .. rst-class:: sig-pretty-signature
      
         | fitNodes(**ids**\ : *number*\ [], **duration**\ : *number*\ ?): *Promise*
      
      Fits the camera to the bounding box containing the node ids.
      
      **Parameters**
      
      
         **ids**\ : *number*\ []
      
      
            Array of node ids to fit the camera.
      
      
         **duration**\ : *number* = DefaultTransitionDuration
      
      
            Time in milliseconds for the camera transition to the new camera view.
      
      
      
      **Returns**\ : *Promise*
      
      
         A promise that will be resolved once the transition is complete.
      
      



.. js:method:: wv.View.fitWorld

      .. rst-class:: sig-pretty-signature
      
         | fitWorld(**duration**\ : *number*\ ?, **camera**\ : :js:class:`Camera <wv.Camera>`\ ): *Promise*
      
      Fits the view to the model bounding box.
      
      **Parameters**
      
      
         **duration**\ : *number* = 0
      
      
            the number of milliseconds to transition to the new camera.
      
      
         **camera**\ : :js:class:`Camera <wv.Camera>`
      
      
      **Returns**\ : *Promise*
      
      
         A promise that will be resolved once the transition is complete.
      
      



.. js:method:: wv.View.getAmbientLightColor

      .. rst-class:: sig-pretty-signature
      
         | getAmbientLightColor(): :js:class:`Color <wv.Color>`
      
      Gets the color of the ambient light applied to the scene.
      
      See also [[setAmbientLightColor]].
      
      **Returns**\ : :js:class:`Color <wv.Color>`
      



.. js:method:: wv.View.getAmbientOcclusionEnabled

      .. rst-class:: sig-pretty-signature
      
         | getAmbientOcclusionEnabled(): *boolean*
      
      **Returns**\ : *boolean*
      
      
         boolean value indicating whether ambient occlusion is enabled
      
      



.. js:method:: wv.View.getAmbientOcclusionRadius

      .. rst-class:: sig-pretty-signature
      
         | getAmbientOcclusionRadius(): *number*
      
      **Returns**\ : *number*
      
      
         the ambient occlusion radius
      
      



.. js:method:: wv.View.getAntiAliasingMode

      .. rst-class:: sig-pretty-signature
      
         | getAntiAliasingMode(): :js:data:`AntiAliasingMode <wv.AntiAliasingMode>`
      
      Gets the anti-aliasing mode for the scene. The Default value is AntiAliasingMode.SMAA
      
      **Returns**\ : :js:data:`AntiAliasingMode <wv.AntiAliasingMode>`
      
      
         the current anti-aliasing mode.
      
      



.. js:method:: wv.View.getAxisTriad

      .. rst-class:: sig-pretty-signature
      
         | getAxisTriad(): :js:class:`AxisTriad <wv.AxisTriad>`
      
      **Returns**\ : :js:class:`AxisTriad <wv.AxisTriad>`
      



.. js:method:: wv.View.getBackfacesVisible

      .. rst-class:: sig-pretty-signature
      
         | getBackfacesVisible(): *boolean*
      
      Gets whether backfaces are being rendered in the scene.
      
      **Returns**\ : *boolean*
      
      
         Boolean value indicating whether backfaces are being rendered in the scene.
      
      



.. js:method:: wv.View.getBackgroundColor

      .. rst-class:: sig-pretty-signature
      
         | getBackgroundColor(): :js:class:`VerticalGradient <wv.VerticalGradient>`
      
      Returns the background colors of the canvas.
      
      **Returns**\ : :js:class:`VerticalGradient <wv.VerticalGradient>`
      
      
         the canvas background colors.
      
      



.. js:method:: wv.View.getBloomEnabled

      .. rst-class:: sig-pretty-signature
      
         | getBloomEnabled(): *boolean*
      
      Returns whether bloom is enabled.
      
      See [[setBloomEnabled]].
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getBloomIntensityScale

      .. rst-class:: sig-pretty-signature
      
         | getBloomIntensityScale(): *number*
      
      Gets the intensity of the bloom effect.
      
      See [[setBloomIntensityScale]].
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getBloomLayers

      .. rst-class:: sig-pretty-signature
      
         | getBloomLayers(): :js:class:`BloomLayerInfo <wv.BloomLayerInfo>`\ []
      
      Returns an array of objects describing each layer in the bloom effect.
      
      See [[setBloomLayers]].
      
      **Returns**\ : :js:class:`BloomLayerInfo <wv.BloomLayerInfo>`\ []
      



.. js:method:: wv.View.getBloomThreshold

      .. rst-class:: sig-pretty-signature
      
         | getBloomThreshold(): *number*
      
      Returns the minimum luminance value a pixel must have for it to contribute to bloom.
      
      See [[setBloomThreshold]], [[getBloomThresholdRampWidth]].
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getBloomThresholdRampWidth

      .. rst-class:: sig-pretty-signature
      
         | getBloomThresholdRampWidth(): *number*
      
      Returns how much greater than the threshold set by [[setBloomThreshold]] a pixel's luminance value must be before it contributes fully to the bloom effect.
      
      See [[setBloomThresholdRampWidth]].
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getBoundingCalculationIgnoresInvisible

      .. rst-class:: sig-pretty-signature
      
         | getBoundingCalculationIgnoresInvisible(): *boolean*
      
      **Returns**\ : *boolean*
      
      
         whether or not bounding calculations by this View object ignores invisible geometry.
      
      



.. js:method:: wv.View.getCamera

      .. rst-class:: sig-pretty-signature
      
         | getCamera(): :js:class:`Camera <wv.Camera>`
      
      Gets the current camera
      
      **Returns**\ : :js:class:`Camera <wv.Camera>`
      
      
         the current camera
      
      



.. js:method:: wv.View.getCanvasSize

      .. rst-class:: sig-pretty-signature
      
         | getCanvasSize(): :js:class:`Point2 <wv.Point2>`
      
      Returns the size of the viewer canvas.
      
      **Returns**\ : :js:class:`Point2 <wv.Point2>`
      
      
         the current size of the viewer canvas.
      
      



.. js:method:: wv.View.getDrawMode

      .. rst-class:: sig-pretty-signature
      
         | getDrawMode(): :js:data:`DrawMode <wv.DrawMode>`
      
      **Returns**\ : :js:data:`DrawMode <wv.DrawMode>`
      
      
         The current draw mode
      
      



.. js:method:: wv.View.getDrawStrategy

      .. rst-class:: sig-pretty-signature
      
         | getDrawStrategy(): :js:data:`DrawStrategy <wv.DrawStrategy>`
      
      Gets the draw strategy.
      
      **Returns**\ : :js:data:`DrawStrategy <wv.DrawStrategy>`
      
      
         The current draw strategy.
      
      



.. js:method:: wv.View.getEyeDomeLightingBlurEdgeDistance

      .. rst-class:: sig-pretty-signature
      
         | getEyeDomeLightingBlurEdgeDistance(): *Promise*
      
      Returns a value that controls the maximum Z-distance between samples taken by the blur filter used in eye-dome lighting for point clouds. The value is a proportion of the screen size.
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.getEyeDomeLightingBlurInterval

      .. rst-class:: sig-pretty-signature
      
         | getEyeDomeLightingBlurInterval(): *Promise*
      
      Returns the distance in pixels between samples taken by the blur filter used in eye-dome lighting for point clouds.
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.getEyeDomeLightingBlurSamples

      .. rst-class:: sig-pretty-signature
      
         | getEyeDomeLightingBlurSamples(): *Promise*
      
      Returns the diameter of the blur filter used in eye-dome lighting for point clouds. A value of 0 means that blurring is disabled.
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.getEyeDomeLightingEnabled

      .. rst-class:: sig-pretty-signature
      
         | getEyeDomeLightingEnabled(): *Promise*
      
      **Returns**\ : *Promise*
      
      
         boolean value indicating if eye-dome lighting is enabled or disabled.
      
      



.. js:method:: wv.View.getEyeDomeLightingOpacity

      .. rst-class:: sig-pretty-signature
      
         | getEyeDomeLightingOpacity(): *Promise*
      
      Returns the opacity of the shading rendered by eye-dome lighting for point clouds. The value is in the range [0,1].
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.getEyeDomeLightingShadingEdgeDistance

      .. rst-class:: sig-pretty-signature
      
         | getEyeDomeLightingShadingEdgeDistance(): *Promise*
      
      Returns a value that controls the shading contrast in eye-dome lighting for point clouds. The value is a number of pixels.
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.getFaceVisibility

      .. rst-class:: sig-pretty-signature
      
         | getFaceVisibility(): *boolean*
      
      Gets the face visibility for the view.
      
      **Returns**\ : *boolean*
      
      
         whether faces are currently being drawn.
      
      



.. js:method:: wv.View.getFullCameraMatrix

      .. rst-class:: sig-pretty-signature
      
         | getFullCameraMatrix(): :js:class:`Matrix <wv.Matrix>`
      
      This is equivalent to (projectionMatrix \* viewMatrix).
      
      **Returns**\ : :js:class:`Matrix <wv.Matrix>`
      
      
         The current full camera matrix.
      
      



.. js:method:: wv.View.getGoochBaseColorProminence

      .. rst-class:: sig-pretty-signature
      
         | getGoochBaseColorProminence(): *number*
      
      Gets the prominence of the object's base color in Gooch shading.
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getGoochBlue

      .. rst-class:: sig-pretty-signature
      
         | getGoochBlue(): *number*
      
      Gets the value to use as the blue tone in Gooch shading.
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getGoochLuminanceShiftStrength

      .. rst-class:: sig-pretty-signature
      
         | getGoochLuminanceShiftStrength(): *number*
      
      Gets the strength of the luminance shift in Gooch shading.
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getGoochYellow

      .. rst-class:: sig-pretty-signature
      
         | getGoochYellow(): *number*
      
      Gets the value to use as the yellow tone in Gooch shading.
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getGroundPlane

      .. rst-class:: sig-pretty-signature
      
         | getGroundPlane(): :js:class:`GroundPlane <wv.GroundPlane>`
      
      Returns information about the invisible ground plane onto which simple shadows and reflections are projected.
      
      See also:
      
      
      - [[setGroundPlane]]
      
      **Returns**\ : :js:class:`GroundPlane <wv.GroundPlane>`
      



.. js:method:: wv.View.getHardEdgeColor

      .. rst-class:: sig-pretty-signature
      
         | getHardEdgeColor(): :js:class:`Color <wv.Color>`
      
      Returns the color of hard edges.
      
      See also:
      
      
      - [[setHardEdgeColor]]
      - [[setHardEdgesEnabled]]
      
      **Returns**\ : :js:class:`Color <wv.Color>`
      



.. js:method:: wv.View.getHardEdgeOpacity

      .. rst-class:: sig-pretty-signature
      
         | getHardEdgeOpacity(): *number*
      
      Returns the opacity of hard edges.
      
      See also:
      
      
      - [[setHardEdgeOpacity]]
      - [[setHardEdgesEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getHardEdgesEnabled

      .. rst-class:: sig-pretty-signature
      
         | getHardEdgesEnabled(): *boolean*
      
      Returns whether hard edges are enabled. Hard edges are edges between two faces whose normals diverge beyond a given angle.
      
      Hard edges are always enabled in hidden line mode, regardless of the return value.
      
      See [[setHardEdgesEnabled]].
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getHardEdgeThreshold

      .. rst-class:: sig-pretty-signature
      
         | getHardEdgeThreshold(): *number*
      
      Returns the angle threshold for hard edges. Edges will be drawn between two faces whose normals diverge beyond this angle.
      
      See also:
      
      
      - [[setHardEdgeThreshold]]
      - [[setHardEdgeThresholdRampWidth]]
      - [[setHardEdgesEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getHardEdgeThresholdRampWidth

      .. rst-class:: sig-pretty-signature
      
         | getHardEdgeThresholdRampWidth(): *number*
      
      Returns the value set by [[setHardEdgeThresholdRampWidth]].
      
      This value is added to the one set by [[setHardEdgeThreshold]] to create a secondary threshold. Angles greater than the secondary threshold will result in edges with full opacity, and angles between the two thresholds will result in edges with reduced opacity.
      
      A value of ``0`` means that all edges are drawn at full opacity.
      
      See also:
      
      
      - [[setHardEdgeThresholdRampWidth]]
      - [[setHardEdgesEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getHiddenLineSettings

      .. rst-class:: sig-pretty-signature
      
         | getHiddenLineSettings(): *HiddenLineSettings*
      
      **Returns**\ : *HiddenLineSettings*
      
      
         a [[HiddenLineSettings]] object.
      
      



.. js:method:: wv.View.getImageBasedLightingEnabled

      .. rst-class:: sig-pretty-signature
      
         | getImageBasedLightingEnabled(): *boolean*
      
      Returns whether image-based lighting is enabled for physically-based materials.
      
      See also:
      
      
      - [[setImageBasedLightingEnabled]]
      - [[setImageBasedLightingIntensity]]
      - [[setImageBasedLightingOrientation]]
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getImageBasedLightingIntensity

      .. rst-class:: sig-pretty-signature
      
         | getImageBasedLightingIntensity(): *number*
      
      Returns the intensity (brightness) of image-based lighting applied to physically-based materials.
      
      The default value is 1.
      
      See also:
      
      
      - [[setImageBasedLightingIntensity]]
      - [[setImageBasedLightingEnabled]]
      - [[setImageBasedLightingOrientation]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getImageBasedLightingOrientation

      .. rst-class:: sig-pretty-signature
      
         | getImageBasedLightingOrientation(): :js:class:`ImageBasedLightingOrientation <wv.ImageBasedLightingOrientation>`
      
      Returns the orientation of the image-based lighting environment applied to physically-based materials.
      
      See also:
      
      
      - [[setImageBasedLightingOrientation]]
      - [[setImageBasedLightingEnabled]]
      - [[setImageBasedLightingIntensity]]
      
      **Returns**\ : :js:class:`ImageBasedLightingOrientation <wv.ImageBasedLightingOrientation>`
      



.. js:method:: wv.View.getInteractiveDrawLimitIncreaseEnabled

      .. rst-class:: sig-pretty-signature
      
         | getInteractiveDrawLimitIncreaseEnabled(): *Promise*
      
      Gets whether or not the viewer will periodically attempt to increase the amount drawn during interaction.
      
      **Returns**\ : *Promise*
      
      
         boolean value indicating whether this feature is enabled or not
      
      



.. js:method:: wv.View.getLight

      .. rst-class:: sig-pretty-signature
      
         | getLight(**key**\ : :js:data:`LightKey <wv.Sc.LightKey.Invalid>`\ ): *Promise*
      
      Get a Light given its key if it exists.
      
      **Parameters**
      
      
         **key**\ : :js:data:`LightKey <wv.Sc.LightKey.Invalid>`
      
      
            The key of the light to get.
      
      
      
      **Returns**\ : *Promise*
      
      
         A Light given its key if it exists.
      
      



.. js:method:: wv.View.getLightingEnabled

      .. rst-class:: sig-pretty-signature
      
         | getLightingEnabled(): *boolean*
      
      Returns whether lighting is enabled.
      
      See also [[setLightingEnabled]].
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getLightKeys

      .. rst-class:: sig-pretty-signature
      
         | getLightKeys(): *Promise*
      
      Get the list of light keys in the scene.
      
      **Returns**\ : *Promise*
      
      
         The list of light keys in the scene.
      
      



.. js:method:: wv.View.getLineJitterEnabled

      .. rst-class:: sig-pretty-signature
      
         | getLineJitterEnabled(): *boolean*
      
      Returns whether line jitter is enabled.
      
      Line jitter makes lines look 'sketchy' by drawing them multiple times with randomized offsets applied to the vertices.
      
      See also:
      
      
      - [[setLineJitterEnabled]]
      - [[getLineJitterInstanceCount]]
      - [[getLineJitterRadius]]
      - [[getLineJitterFrequency]]
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getLineJitterFrequency

      .. rst-class:: sig-pretty-signature
      
         | getLineJitterFrequency(): *number*
      
      Returns the frequency of the noise used to offset line vertices when line jitter is enabled. The default value is 5.
      
      See also:
      
      
      - [[getLineJitterEnabled]]
      - [[getLineJitterInstanceCount]]
      - [[getLineJitterRadius]]
      - [[setLineJitterFrequency]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getLineJitterInstanceCount

      .. rst-class:: sig-pretty-signature
      
         | getLineJitterInstanceCount(): *number*
      
      Returns the number of times lines are drawn when line jitter is enabled. The default value is 4.
      
      See also:
      
      
      - [[getLineJitterEnabled]]
      - [[setLineJitterInstanceCount]]
      - [[getLineJitterRadius]]
      - [[getLineJitterFrequency]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getLineJitterRadius

      .. rst-class:: sig-pretty-signature
      
         | getLineJitterRadius(): *number*
      
      Returns the radius of the random offset applied to line vertices when line jitter is enabled. The default value is 0.005.
      
      The value is specified as a proportion of the canvas height, where 1 means the full height of the canvas.
      
      See also:
      
      
      - [[getLineJitterEnabled]]
      - [[getLineJitterInstanceCount]]
      - [[setLineJitterRadius]]
      - [[getLineJitterFrequency]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getLineVisibility

      .. rst-class:: sig-pretty-signature
      
         | getLineVisibility(): *boolean*
      
      Gets the line visibility for the view.
      
      **Returns**\ : *boolean*
      
      
         whether lines are currently being drawn.
      
      



.. js:method:: wv.View.getMassageExtremeCameras

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



.. js:method:: wv.View.getNavCube

      .. rst-class:: sig-pretty-signature
      
         | getNavCube(): :js:class:`NavCube <wv.NavCube>`
      
      **Returns**\ : :js:class:`NavCube <wv.NavCube>`
      



.. js:method:: wv.View.getPointShape

      .. rst-class:: sig-pretty-signature
      
         | getPointShape(): *Promise*
      
      Gets the PointShape. See [[PointShape]]
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.getPointSize

      .. rst-class:: sig-pretty-signature
      
         | getPointSize(): *Promise*
      
      Gets the diameter of rendered points. See [[PointSizeUnit]].
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.getProjectionMatrix

      .. rst-class:: sig-pretty-signature
      
         | getProjectionMatrix(): :js:class:`Matrix <wv.Matrix>`
      
      Gets the projection matrix.
      
      **Returns**\ : :js:class:`Matrix <wv.Matrix>`
      
      
         The current projection matrix.
      
      



.. js:method:: wv.View.getProjectionMode

      .. rst-class:: sig-pretty-signature
      
         | getProjectionMode(): :js:data:`Projection <wv.Projection>`
      
      Gets the projection mode.
      
      **Returns**\ : :js:data:`Projection <wv.Projection>`
      
      
         The current projection mode.
      
      



.. js:method:: wv.View.getSilhouetteColor

      .. rst-class:: sig-pretty-signature
      
         | getSilhouetteColor(): :js:class:`Color <wv.Color>`
      
      Returns the color of silhouette edges.
      
      See also:
      
      
      - [[setSilhouetteColor]]
      - [[setSilhouetteEnabled]]
      
      **Returns**\ : :js:class:`Color <wv.Color>`
      



.. js:method:: wv.View.getSilhouetteEnabled

      .. rst-class:: sig-pretty-signature
      
         | getSilhouetteEnabled(): *boolean*
      
      Returns whether silhouette edges are enabled.
      
      Silhouette edges are always enabled in hidden line mode, regardless of the return value.
      
      See [[setSilhouetteEnabled]].
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getSilhouetteOpacity

      .. rst-class:: sig-pretty-signature
      
         | getSilhouetteOpacity(): *number*
      
      Returns the opacity of silhouette edges.
      
      See also:
      
      
      - [[setSilhouetteOpacity]]
      - [[setSilhouetteEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSilhouetteThreshold

      .. rst-class:: sig-pretty-signature
      
         | getSilhouetteThreshold(): *number*
      
      Returns the distance threshold for silhouette edges. This value affects the minimum z-distance required between two pixels for an edge to be drawn. A smaller value will result in more edges being drawn on finer details.
      
      The value is a proportion of the canvas size and not a world-space distance.
      
      See also:
      
      
      - [[setSilhouetteThreshold]]
      - [[setSilhouetteThresholdRampWidth]]
      - [[setSilhouetteEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSilhouetteThresholdRampWidth

      .. rst-class:: sig-pretty-signature
      
         | getSilhouetteThresholdRampWidth(): *number*
      
      Returns the value set by [[setSilhouetteThresholdRampWidth]].
      
      This value is added to the one set by [[setSilhouetteThreshold]] to create a secondary threshold. Distances greater than the secondary threshold will result in edges with full opacity, and distances between the two thresholds will result in edges with reduced opacity.
      
      A value of ``0`` means that all edges are drawn at full opacity.
      
      See also:
      
      
      - [[setSilhouetteThresholdRampWidth]]
      - [[setSilhouetteEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSimpleReflectionAttenuation

      .. rst-class:: sig-pretty-signature
      
         | getSimpleReflectionAttenuation(): { farDistance: *number*\ , nearDistance: *number*\ , unit: :js:data:`SimpleReflectionAttenuationUnit <wv.SimpleReflectionAttenuationUnit>` }
      
      Returns properties that control how objects drawn in simple reflections fade as they move further from the ground plane.
      
      Attenuation begins at ``nearDistance`` and increases linearly such that the model is not visible in the reflection beyond ``farDistance``\ .
      
      Attenuation is disabled if ``farDistance`` is less than or equal to ``nearDistance``\ .
      
      See also:
      
      
      - [[setSimpleReflectionAttenuation]]
      - [[setSimpleReflectionEnabled]]
      
      **Returns**\ : { farDistance: *number*\ , nearDistance: *number*\ , unit: :js:data:`SimpleReflectionAttenuationUnit <wv.SimpleReflectionAttenuationUnit>` }
      
      
         An object with the following properties:
      
      



.. js:method:: wv.View.getSimpleReflectionBlurInterval

      .. rst-class:: sig-pretty-signature
      
         | getSimpleReflectionBlurInterval(): [*number*\ , :js:data:`BlurIntervalUnit <wv.BlurIntervalUnit>`\ ]
      
      Returns the distance between samples taken by the blur filter used for simple reflections.
      
      See also:
      
      
      - [[setSimpleReflectionBlurInterval]]
      - [[setSimpleReflectionEnabled]]
      
      **Returns**\ : [*number*\ , :js:data:`BlurIntervalUnit <wv.BlurIntervalUnit>`\ ]
      



.. js:method:: wv.View.getSimpleReflectionBlurSamples

      .. rst-class:: sig-pretty-signature
      
         | getSimpleReflectionBlurSamples(): *number*
      
      Returns the diameter of the blur filter used for simple reflections. A value less than or equal to ``1`` means that blurring is disabled.
      
      See also:
      
      
      - [[setSimpleReflectionBlurSamples]]
      - [[setSimpleReflectionEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSimpleReflectionEnabled

      .. rst-class:: sig-pretty-signature
      
         | getSimpleReflectionEnabled(): *boolean*
      
      Returns whether simple reflections are enabled.
      
      See [[setSimpleReflectionEnabled]].
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getSimpleReflectionFadeAngle

      .. rst-class:: sig-pretty-signature
      
         | getSimpleReflectionFadeAngle(): *number*
      
      Returns the angle, in degrees, between the view vector and the ground plane at which simple reflections begin to fade.
      
      A value to ``0`` means that the fading effect is disabled.
      
      Regardless of the value, simple reflections will not be drawn if the camera is below the ground plane.
      
      See also:
      
      
      - [[setSimpleReflectionFadeAngle]]
      - [[setSimpleReflectionEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSimpleReflectionOpacity

      .. rst-class:: sig-pretty-signature
      
         | getSimpleReflectionOpacity(): *number*
      
      Returns the opacity of simple reflections.
      
      See also:
      
      
      - [[setSimpleReflectionOpacity]]
      - [[setSimpleReflectionEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSimpleShadowBlurInterval

      .. rst-class:: sig-pretty-signature
      
         | getSimpleShadowBlurInterval(): *number*
      
      Returns the distance in pixels between samples taken by the blur filter used for simple shadows.
      
      See also:
      
      
      - [[setSimpleShadowBlurInterval]]
      - [[setSimpleShadowEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSimpleShadowBlurSamples

      .. rst-class:: sig-pretty-signature
      
         | getSimpleShadowBlurSamples(): *number*
      
      Returns the diameter of the blur filter used for simple shadows.
      
      See also:
      
      
      - [[setSimpleShadowBlurSamples]]
      - [[setSimpleShadowEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSimpleShadowColor

      .. rst-class:: sig-pretty-signature
      
         | getSimpleShadowColor(): :js:class:`Color <wv.Color>`
      
      Returns the color of simple shadows.
      
      See also:
      
      
      - [[setSimpleShadowColor]]
      - [[setSimpleShadowEnabled]]
      
      **Returns**\ : :js:class:`Color <wv.Color>`
      



.. js:method:: wv.View.getSimpleShadowEnabled

      .. rst-class:: sig-pretty-signature
      
         | getSimpleShadowEnabled(): *boolean*
      
      Returns whether simple shadows are enabled.
      
      See [[setSimpleShadowEnabled]].
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getSimpleShadowInteractiveUpdateEnabled

      .. rst-class:: sig-pretty-signature
      
         | getSimpleShadowInteractiveUpdateEnabled(): *boolean*
      
      Returns whether simple shadows will be updated during user interaction.
      
      See also:
      
      
      - [[setSimpleShadowInteractiveUpdateEnabled]]
      - [[setSimpleShadowEnabled]]
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.getSimpleShadowOpacity

      .. rst-class:: sig-pretty-signature
      
         | getSimpleShadowOpacity(): *number*
      
      Returns the opacity of simple shadows.
      
      See also:
      
      
      - [[setSimpleShadowOpacity]]
      - [[setSimpleShadowEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getSimpleShadowResolution

      .. rst-class:: sig-pretty-signature
      
         | getSimpleShadowResolution(): *number*
      
      Returns the width and height in pixels of the texture image into which simple shadows are drawn.
      
      See also:
      
      
      - [[getSimpleShadowResolution]]
      - [[setSimpleShadowEnabled]]
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getToonShadingBandCount

      .. rst-class:: sig-pretty-signature
      
         | getToonShadingBandCount(): *number*
      
      Gets the current number of discrete shading bands that will be used when toon shading is enabled.
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getToonShadingSpecularFactor

      .. rst-class:: sig-pretty-signature
      
         | getToonShadingSpecularFactor(): *number*
      
      Gets the current toon shading specular scale factor.
      
      **Returns**\ : *number*
      



.. js:method:: wv.View.getViewMatrix

      .. rst-class:: sig-pretty-signature
      
         | getViewMatrix(): :js:class:`Matrix <wv.Matrix>`
      
      Gets the view matrix.
      
      **Returns**\ : :js:class:`Matrix <wv.Matrix>`
      
      
         The current view matrix.
      
      



.. js:method:: wv.View.getViewOrientationCamera

      .. rst-class:: sig-pretty-signature
      
         | getViewOrientationCamera(**orientation**\ : :js:data:`ViewOrientation <wv.ViewOrientation>`\ , **bounding**\ : :js:class:`Box <wv.Box>`\ , **preserveModelUp**\ : *boolean*\ ?): *Promise*
      
      Returns a camera set to a ViewOrientation
      
      **Parameters**
      
      
         **orientation**\ : :js:data:`ViewOrientation <wv.ViewOrientation>`
      
      
            The desired view orientation for the camera.
      
      
         **bounding**\ : :js:class:`Box <wv.Box>`
      
      
            Optional bounding to fit the camera about. If not supplied, the model bounding will be used.
      
      
         **preserveModelUp**\ : *boolean* = true
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.injectViewOrientationChangeEvent

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



.. js:method:: wv.View.isolateNodes

      .. rst-class:: sig-pretty-signature
      
         | isolateNodes(**nodeIds**\ : *number*\ [], **duration**\ : *number*\ ?, **fitNodes**\ : *boolean*\ ?, **initiallyHiddenStayHidden**\ : (*None* | *boolean*\ )?): *Promise*
      
      Hides all nodes except those specified. Also fits the camera to those nodes' bounding box.
      
      **Parameters**
      
      
         **nodeIds**\ : *number*\ []
      
      
            An array of the node IDs to be isolated.
      
      
         **duration**\ : *number* = DefaultTransitionDuration
      
      
            Time in milliseconds for the camera transition to the new camera view.
      
      
         **fitNodes**\ : *boolean* = true
      
      
            If true, then the view is fitted around the isolated nodes.
      
      
         **initiallyHiddenStayHidden**\ : (*None* \| *boolean*\ ) = null
      
      
            Controls whether or not initially hidden geometries stay hidden. Default behavior is driven by [[setBehaviorInitiallyHidden]].
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.pickAllFromPoint

      .. rst-class:: sig-pretty-signature
      
         | pickAllFromPoint(**point**\ : :js:class:`Point2 <wv.Point2>`\ , **config**\ : :js:class:`PickConfig <wv.PickConfig>`\ ): *Promise*
      
      Performs a picking operation from the given position on the canvas. All candidate entities are returned. This method does not trigger a selection event. This method will reject if the point is outside the canvas area.
      
      **Parameters**
      
      
         **point**\ : :js:class:`Point2 <wv.Point2>`
      
      
            Canvas position to pick from.
      
      
         **config**\ : :js:class:`PickConfig <wv.PickConfig>`
      
      
            The configuration object used for this picking operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         An object containing the result of the picking operation.
      
      



.. js:method:: wv.View.pickAllFromRay

      .. rst-class:: sig-pretty-signature
      
         | pickAllFromRay(**ray**\ : :js:class:`Ray <wv.Ray>`\ , **config**\ : :js:class:`PickConfig <wv.PickConfig>`\ ): *Promise*
      
      Performs a selection operation from the given world-space ray. All candidate entities are returned. This method does not trigger a selection event.
      
      **Parameters**
      
      
         **ray**\ : :js:class:`Ray <wv.Ray>`
      
      
            The world-space ray to perform the selection with.
      
      
         **config**\ : :js:class:`PickConfig <wv.PickConfig>`
      
      
            The configuration object used for this picking operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         An object containing the result of the picking operation.
      
      



.. js:method:: wv.View.pickFromPoint

      .. rst-class:: sig-pretty-signature
      
         | pickFromPoint(**point**\ : :js:class:`Point2 <wv.Point2>`\ , **config**\ : :js:class:`PickConfig <wv.PickConfig>`\ ): *Promise*
      
      Performs a picking operation from the given position on the canvas. The best candidate entity is be returned. This method does not trigger a selection event. This method will reject if the point is outside the canvas area.
      
      **Parameters**
      
      
         **point**\ : :js:class:`Point2 <wv.Point2>`
      
      
            Canvas position to pick from.
      
      
         **config**\ : :js:class:`PickConfig <wv.PickConfig>`
      
      
            The configuration object used for this picking operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         An object containing the result of the picking operation.
      
      



.. js:method:: wv.View.pickFromRay

      .. rst-class:: sig-pretty-signature
      
         | pickFromRay(**ray**\ : :js:class:`Ray <wv.Ray>`\ , **config**\ : :js:class:`PickConfig <wv.PickConfig>`\ ): *Promise*
      
      Performs a selection operation from the given world-space ray. The best candidate entity is be returned. This method does not trigger a selection event.
      
      **Parameters**
      
      
         **ray**\ : :js:class:`Ray <wv.Ray>`
      
      
            The world-space ray to perform the selection with.
      
      
         **config**\ : :js:class:`PickConfig <wv.PickConfig>`
      
      
            The configuration object used for this picking operation.
      
      
      
      **Returns**\ : *Promise*
      
      
         An object containing the result of the picking operation.
      
      



.. js:method:: wv.View.pointToWindowPosition

      .. rst-class:: sig-pretty-signature
      
         | pointToWindowPosition(**pt**\ : :js:class:`Point2 <wv.Point2>`\ ): :js:class:`Point2 <wv.Point2>`
      
      Creates a normalized window position in the range of (-1, 1) for a given point in window space.
      
      **Parameters**
      
      
         **pt**\ : :js:class:`Point2 <wv.Point2>`
      
      
      **Returns**\ : :js:class:`Point2 <wv.Point2>`
      
      
         the normalized window position
      
      



.. js:method:: wv.View.projectPoint

      .. rst-class:: sig-pretty-signature
      
         | projectPoint(**source**\ : :js:class:`Point3 <wv.Point3>`\ , **camera**\ : :js:class:`Camera <wv.Camera>`\ ): :js:class:`Point3 <wv.Point3>`
      
      Projects a 3d world space point to a 3d screen space point.
      
      **Parameters**
      
      
         **source**\ : :js:class:`Point3 <wv.Point3>`
      
      
            world space point to be projected.
      
      
         **camera**\ : :js:class:`Camera <wv.Camera>`
      
      
            if a camera is provided, its projection and view matrix will be used.
      
      
      
      **Returns**\ : :js:class:`Point3 <wv.Point3>`
      
      
         point projected into 3d screen space.
      
      



.. js:method:: wv.View.raycastFromPoint

      .. rst-class:: sig-pretty-signature
      
         | raycastFromPoint(**point**\ : :js:class:`Point2 <wv.Point2>`\ ): (*None* | :js:class:`Ray <wv.Ray>`\ )
      
      Creates a ray based on a viewport position.
      
      **Parameters**
      
      
         **point**\ : :js:class:`Point2 <wv.Point2>`
      
      
            The (X, Y) viewport position.
      
      
      
      **Returns**\ : (*None* \| :js:class:`Ray <wv.Ray>`\ )
      
      
         The ray if it was generated, otherwise null.
      
      



.. js:method:: wv.View.redraw

      .. rst-class:: sig-pretty-signature
      
         | redraw(**callback**\ : () => *void*\ ): *void*
      
      Forces the a redraw of this view.
      
      **Parameters**
      
      
         **callback**\ : () => *void*
      
      
            A function to be called once the draw is complete. This is provided instead of a ``Promise`` to ensure the callback is called before the start of another redraw.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.removeLight

      .. rst-class:: sig-pretty-signature
      
         | removeLight(**key**\ : :js:data:`LightKey <wv.Sc.LightKey.Invalid>`\ ): *void*
      
      removes a light from the scene. See [[Light]].
      
      See also:
      
      
      - [[addLight]]
      - [[clearLights]]
      - [[updateLight]]
      
      **Parameters**
      
      
         **key**\ : :js:data:`LightKey <wv.Sc.LightKey.Invalid>`
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.resetCamera

      .. rst-class:: sig-pretty-signature
      
         | resetCamera(**duration**\ : *number*\ ?): *Promise*
      
      Resets the camera to the initial view of the model when first loaded.
      
      **Parameters**
      
      
         **duration**\ : *number* = DefaultTransitionDuration
      
      
            the amount of time in milliseconds that the camera transition between the current and initial view should take.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setAmbientLightColor

      .. rst-class:: sig-pretty-signature
      
         | setAmbientLightColor(**value**\ : :js:class:`Color <wv.Color>`\ ): *void*
      
      Sets the color of the ambient light applied to the scene. This is a constant source of light that affects every point in the scene in the same way regardless of position or surface normal.
      
      See also [[getAmbientLightColor]].
      
      **Parameters**
      
      
         **value**\ : :js:class:`Color <wv.Color>`
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setAmbientOcclusionEnabled

      .. rst-class:: sig-pretty-signature
      
         | setAmbientOcclusionEnabled(**enabled**\ : *boolean*\ ?): *Promise*
      
      Sets whether ambient occlusion is enabled
      
      **Parameters**
      
      
         **enabled**\ : *boolean* = true
      
      
            sets whether ambient occlusion will be enabled
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setAmbientOcclusionRadius

      .. rst-class:: sig-pretty-signature
      
         | setAmbientOcclusionRadius(**radius**\ : *number*\ ): *Promise*
      
      Sets the ambient occlusion radius. This value represents the maximum screen-proportional distance between two points such that one will cast a shadow on the other.
      
      **Parameters**
      
      
         **radius**\ : *number*
      
      
            the ambient occlusion radius.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setAntiAliasingMode

      .. rst-class:: sig-pretty-signature
      
         | setAntiAliasingMode(**antiAliasingMode**\ : :js:data:`AntiAliasingMode <wv.AntiAliasingMode>`\ ): *Promise*
      
      Sets the anti-aliasing mode for the scene.
      
      **Parameters**
      
      
         **antiAliasingMode**\ : :js:data:`AntiAliasingMode <wv.AntiAliasingMode>`
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setBackfacesVisible

      .. rst-class:: sig-pretty-signature
      
         | setBackfacesVisible(**visible**\ : *boolean*\ ): *Promise*
      
      Sets whether backfaces should be rendered in the scene.
      
      **Parameters**
      
      
         **visible**\ : *boolean*
      
      
            Boolean value indicating whether backfaces should be rendered.
      
      
      
      **Returns**\ : *Promise*
      
      
         Promise that is resolved when this operation has completed.
      
      



.. js:method:: wv.View.setBackgroundColor

      .. rst-class:: sig-pretty-signature
      
         | setBackgroundColor(**top**\ : (*None* | :js:class:`Color <wv.Color>`\ )?, **bottom**\ : (*None* | :js:class:`Color <wv.Color>`\ )?): *Promise*
      
      Sets the viewer background color to a gradient interpolating from the top to bottom color. For a solid color, the top and bottom color should have the same values. Background Transparency is only available with client-side rendering. To re-enable a transparent background, pass null to the parameters of this function.
      
      When draw mode is set to :js:data:`DrawMode.HiddenLine <wv.DrawMode.HiddenLine>`\ , the background color is defined in pouet``HiddenLineSettings HiddenLineSettings``\ pouet. See pouet``HiddenLineSettings.setBackgroundColor HiddenLineSettings.setBackgroundColor``\ pouet.
      
      **Parameters**
      
      
         **top**\ : (*None* \| :js:class:`Color <wv.Color>`\ ) = null
      
      
            the top color for the the background gradient.
      
      
         **bottom**\ : (*None* \| :js:class:`Color <wv.Color>`\ ) = null
      
      
            the bottom color for the the background gradient.
      
      
      
      **Returns**\ : *Promise*
      
      
         a promise that resolves when the operation has completed.
      
      



.. js:method:: wv.View.setBloomEnabled

      .. rst-class:: sig-pretty-signature
      
         | setBloomEnabled(**value**\ : *boolean*\ ?): *void*
      
      Sets whether bloom is enabled.
      
      See [[getBloomEnabled]].
      
      **Parameters**
      
      
         **value**\ : *boolean* = true
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setBloomIntensityScale

      .. rst-class:: sig-pretty-signature
      
         | setBloomIntensityScale(**value**\ : *number*\ ): *void*
      
      Sets the intensity of the bloom effect. This value is multiplied by the intensities of the individual layers set by [[setBloomLayers]].
      
      See [[getBloomIntensityScale]].
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setBloomLayers

      .. rst-class:: sig-pretty-signature
      
         | setBloomLayers(**layers**\ : :js:class:`BloomLayerInfo <wv.BloomLayerInfo>`\ []): *void*
      
      Sets the number of layers in the bloom effect and the layers' attributes.
      
      The bloom effect is achieved by applying a luminance filter to the source image, then progressively downsampling, blurring, and adding the results together. The result of each downsample/blur operation is fed into the next, which is executed at half the resolution of the previous. The number of stages and the behavior of each stage are controlled by this function.
      
      See [[BloomLayerInfo]], [[getBloomLayers]].
      
      **Parameters**
      
      
         **layers**\ : :js:class:`BloomLayerInfo <wv.BloomLayerInfo>`\ []
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setBloomThreshold

      .. rst-class:: sig-pretty-signature
      
         | setBloomThreshold(**value**\ : *number*\ ): *void*
      
      Sets the minimum luminance value a pixel must have for it to contribute to bloom. The value should be in the range ``[0,1]``\ .
      
      See [[getBloomThreshold]], [[setBloomThresholdRampWidth]].
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setBloomThresholdRampWidth

      .. rst-class:: sig-pretty-signature
      
         | setBloomThresholdRampWidth(**value**\ : *number*\ ): *void*
      
      Sets how much greater than the threshold set by [[setBloomThreshold]] a pixel's luminance value must be before it contributes fully to the bloom effect.
      
      If the pixel's luminance value does not exceed the threshold by at least the amount set by this function, the pixel's contribution will be diminished based on how close its luminance value is to the threshold.
      
      See [[getBloomThresholdRampWidth]].
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setBoundingCalculationIgnoresInvisible

      .. rst-class:: sig-pretty-signature
      
         | setBoundingCalculationIgnoresInvisible(**value**\ : *boolean*\ ): *void*
      
      Sets whether or not bounding calculations by this View object ignores invisible geometry.
      
      **Parameters**
      
      
         **value**\ : *boolean*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setCamera

      .. rst-class:: sig-pretty-signature
      
         | setCamera(**camera**\ : (*None* | :js:class:`Camera <wv.Camera>`\ ), **duration**\ : *number*\ ?): *boolean*
      
      Sets the current camera
      
      **Parameters**
      
      
         **camera**\ : (*None* \| :js:class:`Camera <wv.Camera>`\ )
      
      
            the camera to set
      
      
         **duration**\ : *number* = 0
      
      
            camera transition time in milliseconds
      
      
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.View.setDisplayIncompleteFrames

      .. rst-class:: sig-pretty-signature
      
         | setDisplayIncompleteFrames(**value**\ : *boolean*\ ): *Promise*
      
      Sets whether intermediate frames of an incremental draw will be displayed. (default: true)
      
      If false, the image will only be displayed once completely drawn, except immediately after certain operations, such as setting the camera. To disable these exceptions, call [[setInteractiveDrawDelay]] with a value of 0.
      
      **Parameters**
      
      
         **value**\ : *boolean*
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setDrawMode

      .. rst-class:: sig-pretty-signature
      
         | setDrawMode(**drawMode**\ : :js:data:`DrawMode <wv.DrawMode>`\ ): *Promise*
      
      Sets the drawing mode for the scene.
      
      **Parameters**
      
      
         **drawMode**\ : :js:data:`DrawMode <wv.DrawMode>`
      
      
            The drawing mode to set.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setEyeDomeLightingBlurEdgeDistance

      .. rst-class:: sig-pretty-signature
      
         | setEyeDomeLightingBlurEdgeDistance(**value**\ : *number*\ ): *Promise*
      
      Controls the maximum Z-distance between samples taken by the blur filter used in eye-dome lighting for point clouds. The value is taken as a proportion of the screen size. Decreasing the value will result in sharper edges, and increasing the value will result in softer edges. (default: .03)
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setEyeDomeLightingBlurInterval

      .. rst-class:: sig-pretty-signature
      
         | setEyeDomeLightingBlurInterval(**value**\ : *number*\ ): *Promise*
      
      Sets the distance in pixels between samples taken by the blur filter used in eye-dome lighting for point clouds. (default: 1)
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setEyeDomeLightingBlurSamples

      .. rst-class:: sig-pretty-signature
      
         | setEyeDomeLightingBlurSamples(**value**\ : *number*\ ): *Promise*
      
      Sets the diameter of the blur filter used in eye-dome lighting for point clouds. Setting the value to 0 will disable blurring. (default: 7)
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setEyeDomeLightingEnabled

      .. rst-class:: sig-pretty-signature
      
         | setEyeDomeLightingEnabled(**enabled**\ : *boolean*\ ?): *Promise*
      
      Enables or disables eye-dome lighting for point clouds. (default: disabled)
      
      **Parameters**
      
      
         **enabled**\ : *boolean* = true
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setEyeDomeLightingOpacity

      .. rst-class:: sig-pretty-signature
      
         | setEyeDomeLightingOpacity(**value**\ : *number*\ ): *Promise*
      
      Sets the opacity of the shading rendered by eye-dome lighting for point clouds. (default: 1)
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            A number in the range [0,1].
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setEyeDomeLightingShadingEdgeDistance

      .. rst-class:: sig-pretty-signature
      
         | setEyeDomeLightingShadingEdgeDistance(**value**\ : *number*\ ): *Promise*
      
      Controls the shading contrast in eye-dome lighting for point clouds. The value is taken as a number of pixels. Increasing the value will result in overall lighter shading, and decreasing the value will result in overall darker shading. (default: 2)
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setFaceVisibility

      .. rst-class:: sig-pretty-signature
      
         | setFaceVisibility(**faceVisibility**\ : *boolean*\ ): *Promise*
      
      Sets the face visibility for the view.
      
      **Parameters**
      
      
         **faceVisibility**\ : *boolean*
      
      
            indicates whether to draw faces.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setGoochBaseColorProminence

      .. rst-class:: sig-pretty-signature
      
         | setGoochBaseColorProminence(**prominence**\ : *number*\ ): *void*
      
      Sets the prominence of the object's base color in Gooch shading.
      
      **Parameters**
      
      
         **prominence**\ : *number*
      
      
            this scalar value determines the amount of the object's base color is applied to the final shaded color.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setGoochBlue

      .. rst-class:: sig-pretty-signature
      
         | setGoochBlue(**blue**\ : *number*\ ): *void*
      
      Sets the value to use as the blue tone in Gooch shading.
      
      **Parameters**
      
      
         **blue**\ : *number*
      
      
            the blue tone.  This value should be in the range [0,1]
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setGoochLuminanceShiftStrength

      .. rst-class:: sig-pretty-signature
      
         | setGoochLuminanceShiftStrength(**shiftStrength**\ : *number*\ ): *void*
      
      Sets the strength of the luminance shift in Gooch shading.
      
      **Parameters**
      
      
         **shiftStrength**\ : *number*
      
      
            this scalar values determines the amount of luminance shift that is applied to the object's base color
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setGoochYellow

      .. rst-class:: sig-pretty-signature
      
         | setGoochYellow(**yellow**\ : *number*\ ): *void*
      
      Sets the value to use as the yellow tone in Gooch shading.
      
      **Parameters**
      
      
         **yellow**\ : *number*
      
      
            the yellow tone. This value should be in the range [0,1]
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setGroundPlane

      .. rst-class:: sig-pretty-signature
      
         | setGroundPlane(**plane**\ : :js:class:`GroundPlane <wv.GroundPlane>`\ ): *void*
      
      Defines the invisible ground plane onto which simple shadows and reflections are projected.
      
      See also:
      
      
      - [[getGroundPlane]]
      - [[setSimpleShadowEnabled]]
      - [[setSimpleReflectionEnabled]]
      
      **Parameters**
      
      
         **plane**\ : :js:class:`GroundPlane <wv.GroundPlane>`
      
      
            The plane to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setHardEdgeColor

      .. rst-class:: sig-pretty-signature
      
         | setHardEdgeColor(**value**\ : :js:class:`Color <wv.Color>`\ ): *void*
      
      Sets the color of hard edges.
      
      See also:
      
      
      - [[getHardEdgeColor]]
      - [[setHardEdgesEnabled]]
      
      **Parameters**
      
      
         **value**\ : :js:class:`Color <wv.Color>`
      
      
            The color to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setHardEdgeOpacity

      .. rst-class:: sig-pretty-signature
      
         | setHardEdgeOpacity(**value**\ : *number*\ ): *void*
      
      Sets the opacity of hard edges.
      
      See also:
      
      
      - [[getHardEdgeOpacity]]
      - [[setHardEdgesEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The opacity to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setHardEdgesEnabled

      .. rst-class:: sig-pretty-signature
      
         | setHardEdgesEnabled(**value**\ : *boolean*\ ?): *void*
      
      Enables or disables hard edges. Hard edges are edges between two faces whose normals diverge beyond a given angle.
      
      Hard edges are always enabled in hidden line mode.
      
      See also:
      
      
      - [[getHardEdgesEnabled]]
      - [[setHardEdgeColor]]
      - [[setHardEdgeOpacity]]
      - [[setHardEdgeThreshold]]
      - [[setHardEdgeThresholdRampWidth]]
      
      **Parameters**
      
      
         **value**\ : *boolean* = true
      
      
            Whether hard edges should be enabled.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setHardEdgeThreshold

      .. rst-class:: sig-pretty-signature
      
         | setHardEdgeThreshold(**degrees**\ : *number*\ ): *void*
      
      Sets the angle threshold for hard edges. Edges will be drawn between two faces whose normals diverge beyond this angle.
      
      See also:
      
      
      - [[getHardEdgeThreshold]]
      - [[setHardEdgeThresholdRampWidth]]
      - [[setHardEdgesEnabled]]
      
      **Parameters**
      
      
         **degrees**\ : *number*
      
      
            The threshold to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setHardEdgeThresholdRampWidth

      .. rst-class:: sig-pretty-signature
      
         | setHardEdgeThresholdRampWidth(**degrees**\ : *number*\ ): *void*
      
      Controls how quickly edges fade as the angle between adjacent faces decreases.
      
      This value is added to the one set by [[setHardEdgeThreshold]] to create a secondary threshold. Angles greater than the secondary threshold will result in edges with full opacity, and angles between the two thresholds will result in edges with reduced opacity.
      
      Setting this value to ``0`` will cause all edges to be drawn at full opacity.
      
      See also:
      
      
      - [[getHardEdgeThresholdRampWidth]]
      - [[setHardEdgesEnabled]]
      
      **Parameters**
      
      
         **degrees**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setImageBasedLightingEnabled

      .. rst-class:: sig-pretty-signature
      
         | setImageBasedLightingEnabled(**value**\ : *boolean*\ ): *void*
      
      Sets whether image-based lighting is enabled for physically-based materials.
      
      See also:
      
      
      - [[getImageBasedLightingEnabled]]
      - [[setImageBasedLightingIntensity]]
      - [[setImageBasedLightingOrientation]]
      
      **Parameters**
      
      
         **value**\ : *boolean*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setImageBasedLightingEnvironment

      .. rst-class:: sig-pretty-signature
      
         | setImageBasedLightingEnvironment(**data**\ : (*None* | *Uint8Array*\ )): *void*
      
      Sets the environment image used by image-based lighting applied to physically-based materials.
      
      Passing ``null`` will cause the default environment image to be used.
      
      The image should be a cube map in KTX2 format with a space-separated list of spherical harmonics coefficients stored under the "sh" metadata key.
      
      A compatible image can be created from an equirectangular source image (such as those found at `HDRI Haven <https://hdrihaven.com>`__\ ) with the following process:
      
      
      - cmgen: https://github.com/google/filament
      - ktx2ktx2, ktx2sc: https://github.com/KhronosGroup/KTX-Software/
      
      
      ::
      
         cmgen -x out --format=ktx --size=256 in.hdr
         ktx2ktx2 -o uncompressed.ktx2 out/out_ibl.ktx
         ktxsc --zcmp 20 -o out.ktx2 uncompressed.ktx2
      
      **Parameters**
      
      
         **data**\ : (*None* \| *Uint8Array*\ )
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setImageBasedLightingIntensity

      .. rst-class:: sig-pretty-signature
      
         | setImageBasedLightingIntensity(**value**\ : *number*\ ): *void*
      
      Sets the intensity (brightness) of image-based lighting applied to physically-based materials.
      
      The default value is 1.
      
      See also:
      
      
      - [[getImageBasedLightingIntensity]]
      - [[setImageBasedLightingEnabled]]
      - [[setImageBasedLightingOrientation]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setImageBasedLightingOrientation

      .. rst-class:: sig-pretty-signature
      
         | setImageBasedLightingOrientation(**value**\ : :js:class:`ImageBasedLightingOrientation <wv.ImageBasedLightingOrientation>`\ ): *void*
      
      Sets the orientation of the image-based lighting environment applied to physically-based materials.
      
      See also:
      
      
      - [[getImageBasedLightingOrientation]]
      - [[setImageBasedLightingEnabled]]
      - [[setImageBasedLightingIntensity]]
      
      **Parameters**
      
      
         **value**\ : :js:class:`ImageBasedLightingOrientation <wv.ImageBasedLightingOrientation>`
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setInitialCamera

      .. rst-class:: sig-pretty-signature
      
         | setInitialCamera(**camera**\ : :js:class:`Camera <wv.Camera>`\ ): *void*
      
      Sets the camera that will be used for the initial camera view.
      
      **Parameters**
      
      
         **camera**\ : :js:class:`Camera <wv.Camera>`
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setInteractiveDrawDelay

      .. rst-class:: sig-pretty-signature
      
         | setInteractiveDrawDelay(**value**\ : *number*\ ): *Promise*
      
      Sets how long after certain operations, such as setting the camera, to wait before starting a redraw. This delay exists in order to prevent flicker during continuous interaction. The initial value is 200ms.
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The delay in milliseconds
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setInteractiveDrawLimitIncreaseEnabled

      .. rst-class:: sig-pretty-signature
      
         | setInteractiveDrawLimitIncreaseEnabled(**enable**\ : *boolean*\ ): *void*
      
      Sets whether or not the viewer will periodically attempt to increase the amount drawn during interaction. Setting this to ``false`` may improve periodic framerate dips caused by such adjustments.
      
      **Parameters**
      
      
         **enable**\ : *boolean*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setLightingEnabled

      .. rst-class:: sig-pretty-signature
      
         | setLightingEnabled(**enabled**\ : *boolean*\ ?): *Promise*
      
      Sets whether lighting is enabled. When disabled, material colors are drawn at full intensity.
      
      See also [[InstanceModifier.DoNotLight]], [[clearLights]].
      
      **Parameters**
      
      
         **enabled**\ : *boolean* = true
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setLineJitterEnabled

      .. rst-class:: sig-pretty-signature
      
         | setLineJitterEnabled(**value**\ : *boolean*\ ?): *void*
      
      Sets whether line jitter is enabled.
      
      Line jitter makes lines look 'sketchy' by drawing them multiple times with randomized offsets applied to the vertices.
      
      See also:
      
      
      - [[getLineJitterEnabled]]
      - [[setLineJitterInstanceCount]]
      - [[setLineJitterRadius]]
      - [[setLineJitterFrequency]]
      
      **Parameters**
      
      
         **value**\ : *boolean* = true
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setLineJitterFrequency

      .. rst-class:: sig-pretty-signature
      
         | setLineJitterFrequency(**value**\ : *number*\ ): *void*
      
      Sets the frequency of the noise used to offset line vertices when line jitter is enabled. The default value is 5.
      
      Decreasing this value causes lines to appear smoother, while increasing it causes lines to look more noisy.
      
      See also:
      
      
      - [[setLineJitterEnabled]]
      - [[setLineJitterInstanceCount]]
      - [[setLineJitterRadius]]
      - [[getLineJitterFrequency]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setLineJitterInstanceCount

      .. rst-class:: sig-pretty-signature
      
         | setLineJitterInstanceCount(**value**\ : *number*\ ): *void*
      
      Sets the number of times lines are drawn when line jitter is enabled. The default value is 4.
      
      Increasing this number can make the lines look more 'sketchy.'
      
      See also:
      
      
      - [[setLineJitterEnabled]]
      - [[getLineJitterInstanceCount]]
      - [[setLineJitterRadius]]
      - [[setLineJitterFrequency]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setLineJitterRadius

      .. rst-class:: sig-pretty-signature
      
         | setLineJitterRadius(**value**\ : *number*\ ): *void*
      
      Sets the radius of the random offset applied to line vertices when line jitter is enabled. The default value is 0.005.
      
      The value is specified as a proportion of the canvas height, where 1 means the full height of the canvas.
      
      See also:
      
      
      - [[setLineJitterEnabled]]
      - [[setLineJitterInstanceCount]]
      - [[getLineJitterRadius]]
      - [[setLineJitterFrequency]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setLineVisibility

      .. rst-class:: sig-pretty-signature
      
         | setLineVisibility(**lineVisibility**\ : *boolean*\ ): *Promise*
      
      Sets the line visibility for the view.
      
      **Parameters**
      
      
         **lineVisibility**\ : *boolean*
      
      
            indicates whether to draw lines.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setMassageExtremeCameras

      .. rst-class:: sig-pretty-signature
      
         | setMassageExtremeCameras(**value**\ : *boolean*\ ): *void*
      
      Sets whether to change cad view cameras with extreme values to functionally identical cameras with better behavior. This should be disabled if it is important that cameras have their authored values Default: true
      
      **Parameters**
      
      
         **value**\ : *boolean*
      
      
            Whether to modify cameras
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setMinimumFramerate

      .. rst-class:: sig-pretty-signature
      
         | setMinimumFramerate(**minimum**\ : *number*\ ): *void*
      
      Sets a minimum frame rate that will be maintained by this views. The view will use various culling techniques in order to maintain the value passed in.
      
      Passing ``0`` will cause the entire scene to be drawn for every frame.
      
      **Parameters**
      
      
         **minimum**\ : *number*
      
      
            The minimum framerate to be maintained by this view.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setPointShape

      .. rst-class:: sig-pretty-signature
      
         | setPointShape(**shape**\ : :js:data:`PointShape <wv.PointShape>`\ ): *Promise*
      
      Controls the appearance of rendered points. (default: Square) See [[PointShape]].
      
      **Parameters**
      
      
         **shape**\ : :js:data:`PointShape <wv.PointShape>`
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setPointSize

      .. rst-class:: sig-pretty-signature
      
         | setPointSize(**size**\ : *number*\ , **unit**\ : :js:data:`PointSizeUnit <wv.PointSizeUnit>`\ ): *Promise*
      
      Sets the diameter of rendered points. (default: 1, ScreenPixels) See [[PointSizeUnit]].
      
      **Parameters**
      
      
         **size**\ : *number*
      
         **unit**\ : :js:data:`PointSizeUnit <wv.PointSizeUnit>`
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setPointVisibilityTest

      .. rst-class:: sig-pretty-signature
      
         | setPointVisibilityTest(**points**\ : :js:class:`Point3 <wv.Point3>`\ []): *void*
      
      Sets a list of points whose visibility will be tested every time a frame is drawn by comparing them to the frame's depth buffer. Points that are partially obscured by transparent objects are considered visible.
      
      The results are passed to the [[CallbackMap.frameDrawn]] callback so that UI elements may be updated in sync with rendering.
      
      See also [[testPointVisibility]].
      
      **Parameters**
      
      
         **points**\ : :js:class:`Point3 <wv.Point3>`\ []
      
      
            The points to test. An empty array will disable the test.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setProjectionMode

      .. rst-class:: sig-pretty-signature
      
         | setProjectionMode(**projectionMode**\ : :js:data:`Projection <wv.Projection>`\ ): *void*
      
      Sets the projection mode.
      
      **Parameters**
      
      
         **projectionMode**\ : :js:data:`Projection <wv.Projection>`
      
      
            the projection mode to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSilhouetteColor

      .. rst-class:: sig-pretty-signature
      
         | setSilhouetteColor(**value**\ : :js:class:`Color <wv.Color>`\ ): *void*
      
      Sets the color of silhouette edges.
      
      See also:
      
      
      - [[getSilhouetteColor]]
      - [[setSilhouetteEnabled]]
      
      **Parameters**
      
      
         **value**\ : :js:class:`Color <wv.Color>`
      
      
            The color to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSilhouetteEnabled

      .. rst-class:: sig-pretty-signature
      
         | setSilhouetteEnabled(**value**\ : *boolean*\ ?): *void*
      
      Enables or disables silhouette edges.
      
      Silhouette edges are always enabled in hidden line mode.
      
      See also:
      
      
      - [[getSilhouetteEnabled]]
      - [[setSilhouetteColor]]
      - [[setSilhouetteOpacity]]
      - [[setSilhouetteThreshold]]
      - [[setSilhouetteThresholdRampWidth]]
      
      **Parameters**
      
      
         **value**\ : *boolean* = true
      
      
            Whether silhouette edges should be enabled.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSilhouetteOpacity

      .. rst-class:: sig-pretty-signature
      
         | setSilhouetteOpacity(**value**\ : *number*\ ): *void*
      
      Sets the opacity of silhouette edges.
      
      See also:
      
      
      - [[getSilhouetteOpacity]]
      - [[setSilhouetteEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The opacity to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSilhouetteThreshold

      .. rst-class:: sig-pretty-signature
      
         | setSilhouetteThreshold(**value**\ : *number*\ ): *void*
      
      Sets the distance threshold for silhouette edges. This value affects the minimum z-distance required between two pixels for an edge to be drawn. A smaller value will result in more edges being drawn on finer details.
      
      The value is a proportion of the canvas size and not a world-space distance.
      
      See also:
      
      
      - [[getSilhouetteThreshold]]
      - [[setSilhouetteThresholdRampWidth]]
      - [[setSilhouetteEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The threshold to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSilhouetteThresholdRampWidth

      .. rst-class:: sig-pretty-signature
      
         | setSilhouetteThresholdRampWidth(**value**\ : *number*\ ): *void*
      
      Controls how quickly edges fade as z-distance between pixels decreases.
      
      This value is added to the one set by [[setSilhouetteThreshold]] to create a secondary threshold. Distances greater than the secondary threshold will result in edges with full opacity, and distances between the two thresholds will result in edges with reduced opacity.
      
      Setting this value to ``0`` will cause all edges to be drawn at full opacity.
      
      See also:
      
      
      - [[getSilhouetteThresholdRampWidth]]
      - [[setSilhouetteEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleReflectionAttenuation

      .. rst-class:: sig-pretty-signature
      
         | setSimpleReflectionAttenuation(**nearDistance**\ : *number*\ , **farDistance**\ : *number*\ , **unit**\ : :js:data:`SimpleReflectionAttenuationUnit <wv.SimpleReflectionAttenuationUnit>`\ ?): *void*
      
      Controls how objects drawn in simple reflections fade as they move further from the ground plane.
      
      Attenuation begins at ``nearDistance`` and increases linearly such that the model is not visible in the reflection beyond ``farDistance``\ .
      
      Attenuation is disabled if ``farDistance`` is less than or equal to ``nearDistance``\ .
      
      See also:
      
      
      - [[getSimpleReflectionAttenuation]]
      - [[setSimpleReflectionEnabled]]
      
      **Parameters**
      
      
         **nearDistance**\ : *number*
      
      
            The distance from the ground plane at which objects begin to fade.
      
      
         **farDistance**\ : *number*
      
      
            The distance from the ground plane at which objects are completely faded.
      
      
         **unit**\ : :js:data:`SimpleReflectionAttenuationUnit <wv.SimpleReflectionAttenuationUnit>` = SimpleReflectionAttenuationUnit.World
      
      
            The unit in which ``nearDistance`` and ``farDistance`` are specified. If unspecified, [[SimpleReflectionAttenuationUnit.World]] will be used.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleReflectionBlurInterval

      .. rst-class:: sig-pretty-signature
      
         | setSimpleReflectionBlurInterval(**value**\ : *number*\ , **unit**\ : :js:data:`BlurIntervalUnit <wv.BlurIntervalUnit>`\ ?): *void*
      
      Sets the distance between samples taken by the blur filter used for simple reflections.
      
      See also:
      
      
      - [[getSimpleReflectionBlurInterval]]
      - [[setSimpleReflectionEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The interval to set.
      
      
         **unit**\ : :js:data:`BlurIntervalUnit <wv.BlurIntervalUnit>` = BlurIntervalUnit.Pixels
      
      
            The unit in which the ``value`` argument is specified.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleReflectionBlurSamples

      .. rst-class:: sig-pretty-signature
      
         | setSimpleReflectionBlurSamples(**value**\ : *number*\ ): *void*
      
      Sets the diameter of the blur filter used for simple reflections. Setting the value less than or equal to ``1`` will disable blurring.
      
      See also:
      
      
      - [[getSimpleReflectionBlurSamples]]
      - [[setSimpleReflectionEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleReflectionEnabled

      .. rst-class:: sig-pretty-signature
      
         | setSimpleReflectionEnabled(**value**\ : *boolean*\ ?): *void*
      
      Enables or disables simple reflections projected onto an invisible ground plane.
      
      See also:
      
      
      - [[getSimpleReflectionEnabled]]
      - [[setSimpleReflectionOpacity]]
      - [[setSimpleReflectionBlurSamples]]
      - [[setSimpleReflectionBlurInterval]]
      - [[setSimpleReflectionFadeAngle]]
      
      **Parameters**
      
      
         **value**\ : *boolean* = true
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleReflectionFadeAngle

      .. rst-class:: sig-pretty-signature
      
         | setSimpleReflectionFadeAngle(**degrees**\ : *number*\ ): *void*
      
      Sets the angle, in degrees, between the view vector and the ground plane at which simple reflections begin to fade.
      
      Settings the value to ``0`` will disable the fading effect.
      
      Regardless of the value, simple reflections will not be drawn if the camera is below the ground plane.
      
      See also:
      
      
      - [[getSimpleReflectionFadeAngle]]
      - [[setSimpleReflectionEnabled]]
      
      **Parameters**
      
      
         **degrees**\ : *number*
      
      
            The angle in degrees.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleReflectionOpacity

      .. rst-class:: sig-pretty-signature
      
         | setSimpleReflectionOpacity(**value**\ : *number*\ ): *void*
      
      Sets the opacity of simple reflections.
      
      See also:
      
      
      - [[getSimpleReflectionOpacity]]
      - [[setSimpleReflectionEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The opacity to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleShadowBlurInterval

      .. rst-class:: sig-pretty-signature
      
         | setSimpleShadowBlurInterval(**value**\ : *number*\ ): *void*
      
      Sets the distance in pixels between samples taken by the blur filter used for simple shadows.
      
      See also:
      
      
      - [[getSimpleShadowBlurInterval]]
      - [[setSimpleShadowEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The interval to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleShadowBlurSamples

      .. rst-class:: sig-pretty-signature
      
         | setSimpleShadowBlurSamples(**value**\ : *number*\ ): *void*
      
      Sets the diameter of the blur filter used for simple shadows. Setting the value to ``0`` will disable blurring.
      
      See also:
      
      
      - [[getSimpleShadowBlurSamples]]
      - [[setSimpleShadowEnabled]]
      
      **Parameters**
      
      
         **value**\ : *number*
      
      
            The number of samples.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleShadowColor

      .. rst-class:: sig-pretty-signature
      
         | setSimpleShadowColor(**color**\ : :js:class:`Color <wv.Color>`\ ): *void*
      
      Sets the color of simple shadows.
      
      See also:
      
      
      - [[getSimpleShadowColor]]
      - [[setSimpleShadowEnabled]]
      
      **Parameters**
      
      
         **color**\ : :js:class:`Color <wv.Color>`
      
      
            The color to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleShadowEnabled

      .. rst-class:: sig-pretty-signature
      
         | setSimpleShadowEnabled(**value**\ : *boolean*\ ?): *void*
      
      Enables or disables a full-scene shadow projected onto an invisible ground plane.
      
      See also:
      
      
      - [[getSimpleShadowEnabled]]
      - [[setSimpleShadowColor]]
      - [[setSimpleShadowOpacity]]
      - [[setGroundPlane]]
      - [[setSimpleShadowResolution]]
      - [[setSimpleShadowInteractiveUpdateEnabled]]
      
      **Parameters**
      
      
         **value**\ : *boolean* = true
      
      
            Whether simple shadows should be enabled.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleShadowInteractiveUpdateEnabled

      .. rst-class:: sig-pretty-signature
      
         | setSimpleShadowInteractiveUpdateEnabled(**value**\ : *boolean*\ ?): *void*
      
      Enables or disables updates to simple shadows during user interaction.
      
      See also:
      
      
      - [[getSimpleShadowInteractiveUpdateEnabled]]
      - [[setSimpleShadowEnabled]]
      
      **Parameters**
      
      
         **value**\ : *boolean* = true
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleShadowOpacity

      .. rst-class:: sig-pretty-signature
      
         | setSimpleShadowOpacity(**opacity**\ : *number*\ ): *void*
      
      Sets the opacity of simple shadows.
      
      See also:
      
      
      - [[getSimpleShadowOpacity]]
      - [[setSimpleShadowEnabled]]
      
      **Parameters**
      
      
         **opacity**\ : *number*
      
      
            The opacity to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setSimpleShadowResolution

      .. rst-class:: sig-pretty-signature
      
         | setSimpleShadowResolution(**pixels**\ : *number*\ ): *void*
      
      Sets the width and height in pixels of the texture image into which simple shadows are drawn.
      
      See also:
      
      
      - [[getSimpleShadowResolution]]
      - [[setSimpleShadowEnabled]]
      
      **Parameters**
      
      
         **pixels**\ : *number*
      
      
            The resolution to set.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setStatisticsDisplayVisibility

      .. rst-class:: sig-pretty-signature
      
         | setStatisticsDisplayVisibility(**visibility**\ : *boolean*\ ): *Promise*
      
      Sets the display for the default statistic overlay.
      
      **Parameters**
      
      
         **visibility**\ : *boolean*
      
      
            whether the default statistics overlay should be drawn.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setToonShadingBandCount

      .. rst-class:: sig-pretty-signature
      
         | setToonShadingBandCount(**bandCount**\ : *number*\ ): *void*
      
      Sets the number of discrete shading bands that will be used when toon shading is enabled.  Each band represents a shade between dark and light which will control the final color of the pixel based on its light intensity.  The default band count is 3.
      
      **Parameters**
      
      
         **bandCount**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setToonShadingSpecularFactor

      .. rst-class:: sig-pretty-signature
      
         | setToonShadingSpecularFactor(**specularFactor**\ : *number*\ ): *void*
      
      Sets a scale factor which controls the size of specular highlights when toon shading is enabled.  The default value is 1.0.
      
      **Parameters**
      
      
         **specularFactor**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setTransparencyMode

      .. rst-class:: sig-pretty-signature
      
         | setTransparencyMode(**mode**\ : :js:data:`TransparencyMode <wv.TransparencyMode>`\ ): *void*
      
      Sets how transparent objects are blended.
      
      **Parameters**
      
      
         **mode**\ : :js:data:`TransparencyMode <wv.TransparencyMode>`
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.setViewOrientation

      .. rst-class:: sig-pretty-signature
      
         | setViewOrientation(**orientation**\ : :js:data:`ViewOrientation <wv.ViewOrientation>`\ , **duration**\ : *number*\ ?, **bounding**\ : :js:class:`Box <wv.Box>`\ , **preserveModelUp**\ : *boolean*\ ?): *Promise*
      
      Sets the view to a standard orientation.
      
      **Parameters**
      
      
         **orientation**\ : :js:data:`ViewOrientation <wv.ViewOrientation>`
      
      
            The desired view orientation for the camera.
      
      
         **duration**\ : *number* = DefaultTransitionDuration
      
      
            The number of milliseconds used to transition to the new camera.
      
      
         **bounding**\ : :js:class:`Box <wv.Box>`
      
      
            Optional bounding to fit the camera about. If not supplied, the model bounding will be used.
      
      
         **preserveModelUp**\ : *boolean* = true
      
      
            Indicates whether the camera up will be set according to model up or current camera.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setXRayColor

      .. rst-class:: sig-pretty-signature
      
         | setXRayColor(**element**\ : :js:data:`ElementType <wv.ElementType>`\ , **color**\ : :js:class:`Color <wv.Color>`\ , **group**\ : :js:data:`XRayGroup <wv.XRayGroup>`\ ?): *Promise*
      
      Sets the color applied to nodes in x-ray mode. By default, the color is unset.
      
      See [[unsetXRayColor]].
      
      **Parameters**
      
      
         **element**\ : :js:data:`ElementType <wv.ElementType>`
      
      
            the type of geometry to apply the color to
      
      
         **color**\ : :js:class:`Color <wv.Color>`
      
      
            the color to apply
      
      
         **group**\ : :js:data:`XRayGroup <wv.XRayGroup>` = XRayGroup.Selected
      
      
            the category of nodes that will be affected. If unspecified, [[XRayGroup.Selected]] will be used.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setXRayOpacity

      .. rst-class:: sig-pretty-signature
      
         | setXRayOpacity(**opacity**\ : *number*\ , **element**\ : :js:data:`ElementType <wv.ElementType>`\ ): *Promise*
      
      Sets the opacity of unselected items in x-ray mode.
      
      **Parameters**
      
      
         **opacity**\ : *number*
      
      
            a number between 0 and 1
      
      
         **element**\ : :js:data:`ElementType <wv.ElementType>`
      
      
            the type of element to which the opacity will apply. If unspecified, the opacity will apply to all element types.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.setXRayTransparencyMode

      .. rst-class:: sig-pretty-signature
      
         | setXRayTransparencyMode(**mode**\ : :js:data:`TransparencyMode <wv.TransparencyMode>`\ ): *Promise*
      
      Sets how transparent (unselected) objects are blended in x-ray mode.
      
      **Parameters**
      
      
         **mode**\ : :js:data:`TransparencyMode <wv.TransparencyMode>`
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.startComparison

      .. rst-class:: sig-pretty-signature
      
         | startComparison(**nodeIdSet1**\ : *number*\ [], **nodeIdSet2**\ : *number*\ [], **config**\ : :js:class:`ComparisonConfig <wv.ComparisonConfig>`\ ): *void*
      
      Enables a visual comparison of two sets of nodes. The nodes specified by ``nodeIdSet1`` are filled with one color, the nodes specified by ``nodeIdSet2`` with another color, and overlapping areas are filled with a third color.
      
      See [[endComparison]].
      
      **Parameters**
      
      
         **nodeIdSet1**\ : *number*\ []
      
      
            the nodes to compare against ``nodeIdSet2``
      
      
         **nodeIdSet2**\ : *number*\ []
      
      
            the nodes to compare against ``nodeIdSet1``
      
      
         **config**\ : :js:class:`ComparisonConfig <wv.ComparisonConfig>`
      
      
            settings controlling the behavior of the comparison
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.testPointVisibility

      .. rst-class:: sig-pretty-signature
      
         | testPointVisibility(**points**\ : :js:class:`Point3 <wv.Point3>`\ []): *Promise*
      
      Tests whether the given points are visible by comparing them to the depth buffer of the most-recently-drawn frame. Points that are partially obscured by transparent objects are considered visible.
      
      If the test is to be run every time a frame is drawn, [[setPointVisibilityTest]] should be used instead for proper synchronization.
      
      **Parameters**
      
      
         **points**\ : :js:class:`Point3 <wv.Point3>`\ []
      
      
            The points to test.
      
      
      
      **Returns**\ : *Promise*
      
      
         A list of indices of the visible points.
      
      



.. js:method:: wv.View.unprojectPoint

      .. rst-class:: sig-pretty-signature
      
         | unprojectPoint(**point**\ : :js:class:`Point2 <wv.Point2>`\ , **z**\ : *number*\ ): (*None* | :js:class:`Point3 <wv.Point3>`\ )
      
      Unprojects a 2d screen space point to a 3d world space point.
      
      **Parameters**
      
      
         **point**\ : :js:class:`Point2 <wv.Point2>`
      
      
            2d screen space
      
      
         **z**\ : *number*
      
      
            z value, default 0
      
      
      
      **Returns**\ : (*None* \| :js:class:`Point3 <wv.Point3>`\ )
      
      
         point world space point
      
      



.. js:method:: wv.View.unsetDefaultCamera

      .. rst-class:: sig-pretty-signature
      
         | unsetDefaultCamera(): *void*
      
      Unsets the default camera. After this is called the next camera to be set will be the new default
      
      **Returns**\ : *void*
      



.. js:method:: wv.View.unsetXRayColor

      .. rst-class:: sig-pretty-signature
      
         | unsetXRayColor(**element**\ : :js:data:`ElementType <wv.ElementType>`\ , **group**\ : :js:data:`XRayGroup <wv.XRayGroup>`\ ?): *Promise*
      
      Unsets the color applied to selected items in x-ray mode. Selected items will be displayed without overriding their colors.
      
      See [[setXRayColor]].
      
      **Parameters**
      
      
         **element**\ : :js:data:`ElementType <wv.ElementType>`
      
      
            the type of geometry affected by the change
      
      
         **group**\ : :js:data:`XRayGroup <wv.XRayGroup>` = XRayGroup.Selected
      
      
            the category of nodes that will be affected. If unspecified, [[XRayGroup.Selected]] will be used.
      
      
      
      **Returns**\ : *Promise*
      



.. js:method:: wv.View.updateCamera

      .. rst-class:: sig-pretty-signature
      
         | updateCamera(**camera**\ : :js:class:`Camera <wv.Camera>`\ ): :js:class:`Camera <wv.Camera>`
      
      Updates camera properties individually. This method should be used to incrementally update camera properties individually.
      
      **Parameters**
      
      
         **camera**\ : :js:class:`Camera <wv.Camera>`
      
      
            the camera to set.
      
      
      
      **Returns**\ : :js:class:`Camera <wv.Camera>`
      
      
         updated camera object.
      
      



.. js:method:: wv.View.updateLight

      .. rst-class:: sig-pretty-signature
      
         | updateLight(**key**\ : :js:data:`LightKey <wv.Sc.LightKey.Invalid>`\ , **light**\ : :js:class:`Light <wv.Light>`\ ): *void*
      
      Updates a light in the scene. See [[Light]].
      
      See also:
      
      
      - [[addLight]]
      - [[clearLights]]
      - [[removeLight]]
      
      **Parameters**
      
      
         **key**\ : :js:data:`LightKey <wv.Sc.LightKey.Invalid>`
      
         **light**\ : :js:class:`Light <wv.Light>`
      
      
      **Returns**\ : *void*
      




