.. role:: ts-api-decorator

.. _DrawMode:

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

.. container:: ts-api-section

   Enumerates drawing modes available in the viewer. More information can be found [here](https://docs.techsoft3d.com/communicator/latest/prog_guide/viewing/scene_attributes/draw-modes.html).



.. container:: api-index-section

   .. rubric:: Enumeration Members

   .. rst-class:: api-index-list-item api-kind-enummember api-parent-kind-enum

   * :ref:`DrawMode.Gooch`
   * :ref:`DrawMode.HiddenLine`
   * :ref:`DrawMode.Shaded`
   * :ref:`DrawMode.Toon`
   * :ref:`DrawMode.Wireframe`
   * :ref:`DrawMode.WireframeOnShaded`
   * :ref:`DrawMode.XRay`





------------

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

.. rst-class:: ts-api-section

.. _DrawMode.Gooch:

Gooch
-----

Shading occurs only in mid-tones so that edge lines and highlights remain visually prominent.

.. rst-class:: ts-api-section

.. _DrawMode.HiddenLine:

HiddenLine
----------

Silhouette edges and obscured lines are rendered

.. rst-class:: ts-api-section

.. _DrawMode.Shaded:

Shaded
------

Faces are rendered and lines are not

.. rst-class:: ts-api-section

.. _DrawMode.Toon:

Toon
----

Conventional smooth lighting values are calculated for each pixel and then quantized to a small number of discrete shades

.. rst-class:: ts-api-section

.. _DrawMode.Wireframe:

Wireframe
---------

Lines are rendered and faces are not

.. rst-class:: ts-api-section

.. _DrawMode.WireframeOnShaded:

WireframeOnShaded
-----------------

Lines and faces are rendered

.. rst-class:: ts-api-section

.. _DrawMode.XRay:

XRay
----

Selected items are drawn on top, and unselected items are drawn transparent

