.. role:: ts-api-decorator

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

.. container:: ts-api-section

   .. 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.



.. container:: api-index-section

   .. rubric:: Properties

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

   * :js:attr:`~MeshDataCopyElement.bits`
   * :js:attr:`~MeshDataCopyElement.vertexCount`



.. container:: api-index-section

   .. rubric:: Methods

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

   * :js:meth:`~MeshDataCopyElement.iterate`





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

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: MeshDataCopyElement.bits

      :type: number

      The selection filter bits supplied for this element.



.. container:: ts-api-section

   .. js:attribute:: MeshDataCopyElement.vertexCount

      :type: number

      The number of vertices in this element.



Methods
=======

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

iterate
-------

.. js:method:: MeshDataCopyElement.iterate()





   :returns: An iterator over the vertices in this element.


   :rtype: MeshDataCopyIterator

