.. role:: clio-inherited
   :class: clio-flag clio-flag-inherited


####################
PartIndexedTriangles
####################

.. js:class:: cee.mrk.PartIndexedTriangles

   Defines indexed triangles that can be shown in a :js:class:`MarkupModel <cee.mrk.MarkupModel>`\ .
   
   Use :js:meth:`MarkupModel.addIndexedTrianglesPart <cee.mrk.MarkupModel.addIndexedTrianglesPart>` to create a new instance of this class.
   
   
   Index
   =====
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.mrk.PartIndexedTriangles.color`
   * :js:func:`~cee.mrk.PartIndexedTriangles.customData`
   * :js:func:`~cee.mrk.PartIndexedTriangles.eyeLift`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~cee.mrk.PartIndexedTriangles.rayIntersect`
   * :js:meth:`~cee.mrk.PartIndexedTriangles.setMeshData`
   
   



.. rst-class:: kind-group kind-accessors

.. rubric:: Accessors
   :class: kind-group-title


.. js:method:: cee.mrk.PartIndexedTriangles.color

      .. rst-class:: sig-pretty-signature
      
         | *get* color(): :js:class:`Color3Like <cee.Color3Like>`
      
      The color of the part.
      
      **Returns**\ : :js:class:`Color3Like <cee.Color3Like>`
      
      .. rst-class:: sig-pretty-signature
      
         | *set* color(**color**\ : :js:class:`Color3Like <cee.Color3Like>`\ ): *void*
      
      **Parameters**
      
      
         **color**\ : :js:class:`Color3Like <cee.Color3Like>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.mrk.PartIndexedTriangles.customData

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | *get* customData(): *any*
      
      Custom data for the part. This field is not used by EnvisionWeb.
      
      **Returns**\ : *any*
      
      .. rst-class:: sig-pretty-signature
      
         | *set* customData(**data**\ : *any*\ ): *void*
      
      **Parameters**
      
      
         **data**\ : *any*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.mrk.PartIndexedTriangles.eyeLift

      .. rst-class:: sig-pretty-signature
      
         | *get* eyeLift(): :js:data:`EyeLift <cee.EyeLift>`
      
      The eye lift mode to use for this part
      
      **Returns**\ : :js:data:`EyeLift <cee.EyeLift>`
      
      .. rst-class:: sig-pretty-signature
      
         | *set* eyeLift(**mode**\ : :js:data:`EyeLift <cee.EyeLift>`\ ): *void*
      
      **Parameters**
      
      
         **mode**\ : :js:data:`EyeLift <cee.EyeLift>`
      
      
      **Returns**\ : *void*
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: cee.mrk.PartIndexedTriangles.rayIntersect

      .. rst-class:: sig-pretty-signature
      
         | rayIntersect(**ray**\ : :js:class:`Ray <cee.Ray>`\ , **hitItem**\ : :js:class:`PartHitItem <cee.mrk.PartHitItem>`\ ): *boolean*
      
      Picking
      
      **Parameters**
      
      
         **ray**\ : :js:class:`Ray <cee.Ray>`
      
         **hitItem**\ : :js:class:`PartHitItem <cee.mrk.PartHitItem>`
      
      
      **Returns**\ : *boolean*
      



.. js:method:: cee.mrk.PartIndexedTriangles.setMeshData

      .. rst-class:: sig-pretty-signature
      
         | setMeshData(**vertices**\ : *ArrayLike*\ , **indices**\ : *ArrayLike*\ ): *void*
      
      Sets the triangles in the part using the given vertices and indices. See :js:class:`geo.MeshIndexedTriangles <cee.geo.MeshIndexedTriangles>` for an explanation of these arrays.
      
      **Parameters**
      
      
         **vertices**\ : *ArrayLike*
      
         **indices**\ : *ArrayLike*
      
      
      **Returns**\ : *void*
      




