
########
DrawMode
########

.. js:data:: DrawMode

   Enumerates drawing modes available in the viewer. More information can be found `here <https://docs.techsoft3d.com/hoops/visualize-web/latest/prog_guide/viewing/scene_attributes/draw-modes.html>`_\ .
   
   
   Index
   =====
   
   .. rubric:: Enumeration Members
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~DrawMode.Gooch`
   * :js:data:`~DrawMode.HiddenLine`
   * :js:data:`~DrawMode.Shaded`
   * :js:data:`~DrawMode.Toon`
   * :js:data:`~DrawMode.Wireframe`
   * :js:data:`~DrawMode.WireframeOnShaded`
   * :js:data:`~DrawMode.XRay`
   
   




Enumeration Members
===================

.. js:data:: DrawMode.Gooch

   .. rst-class:: sig-pretty-signature
   
      | Gooch: *5*
   
   Shading occurs only in mid-tones so that edge lines and highlights remain visually prominent.
   



.. js:data:: DrawMode.HiddenLine

   .. rst-class:: sig-pretty-signature
   
      | HiddenLine: *3*
   
   Silhouette edges and obscured lines are rendered
   



.. js:data:: DrawMode.Shaded

   .. rst-class:: sig-pretty-signature
   
      | Shaded: *1*
   
   Faces are rendered and lines are not
   



.. js:data:: DrawMode.Toon

   .. rst-class:: sig-pretty-signature
   
      | Toon: *6*
   
   Conventional smooth lighting values are calculated for each pixel and then quantized to a small number of discrete shades
   



.. js:data:: DrawMode.Wireframe

   .. rst-class:: sig-pretty-signature
   
      | Wireframe: *0*
   
   Lines are rendered and faces are not
   



.. js:data:: DrawMode.WireframeOnShaded

   .. rst-class:: sig-pretty-signature
   
      | WireframeOnShaded: *2*
   
   Lines and faces are rendered
   



.. js:data:: DrawMode.XRay

   .. rst-class:: sig-pretty-signature
   
      | XRay: *4*
   
   Selected items are drawn on top, and unselected items are drawn transparent
   





