
###################
MeshDataCopyElement
###################

.. js:class:: MeshDataCopyElement

   Provides access to mesh data of a single face, line, or point element in a [[MeshDataCopyElementGroup]].
   
   This object additionally supports the ECMAScript 2015 **iterable** protocol and therefore can be iterated over using a ``for..of`` loop.
   
   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~MeshDataCopyElement.bits`
   * :js:data:`~MeshDataCopyElement.vertexCount`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~MeshDataCopyElement.iterate`
   
   




Properties
==========

.. js:data:: MeshDataCopyElement.bits

   .. rst-class:: sig-pretty-signature
   
      | bits: *number*
   
   The selection filter bits supplied for this element.
   



.. js:data:: MeshDataCopyElement.vertexCount

   .. rst-class:: sig-pretty-signature
   
      | vertexCount: *number*
   
   The number of vertices in this element.
   





Methods
=======

.. js:method:: MeshDataCopyElement.iterate

   .. rst-class:: sig-pretty-signature
   
      | iterate(): :js:class:`~MeshDataCopyIterator`
   
   **Returns**\ : :js:class:`~MeshDataCopyIterator`
   
      An iterator over the vertices in this element.
   
   





