.. role:: ts-api-decorator

############
MeshDataCopy
############

.. container:: ts-api-section

   .. js:class:: MeshDataCopy

      A self-contained copy of the data of a single mesh. The data is part of this object and is not managed by Communicator.



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-interface

   * :js:attr:`~MeshDataCopy.faces`
   * :js:attr:`~MeshDataCopy.isManifold`
   * :js:attr:`~MeshDataCopy.isTwoSided`
   * :js:attr:`~MeshDataCopy.lines`
   * :js:attr:`~MeshDataCopy.points`
   * :js:attr:`~MeshDataCopy.winding`





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

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: MeshDataCopy.faces

      :type: MeshDataCopyElementGroup

      Provides access to the mesh's face data.



.. container:: ts-api-section

   .. js:attribute:: MeshDataCopy.isManifold

      :type: boolean

      Whether or not the mesh data is manifold. Cutting section caps are generated only for manifold objects.



.. container:: ts-api-section

   .. js:attribute:: MeshDataCopy.isTwoSided

      :type: boolean

      Whether or not the mesh data is two-sided. Backface culling is disabled for two-sided meshes.



.. container:: ts-api-section

   .. js:attribute:: MeshDataCopy.lines

      :type: MeshDataCopyElementGroup

      Provides access to the mesh's line data. Line data is represented as a list of individual line segments and not polylines.



.. container:: ts-api-section

   .. js:attribute:: MeshDataCopy.points

      :type: MeshDataCopyElementGroup

      Provides access to the mesh's point data.



.. container:: ts-api-section

   .. js:attribute:: MeshDataCopy.winding

      :type: clockwise | counterClockwise :ts-api-decorator:`optional`

      The order in which the vertices of each face are specified. This determines which side of the face is the front.
      May be ``undefined``.



