.. role:: ts-api-decorator

###########
MeshHitItem
###########

.. js:module:: cee.geo
   :noindex:

.. container:: ts-api-section

   .. js:class:: MeshHitItem

      MeshHitItem contains the result of a picking operation (``rayIntersect()``) on a Mesh.



.. container:: api-index-section

   .. rubric:: Constructors

   .. rst-class:: api-index-list-item api-kind-constructor api-parent-kind-class

   * :js:meth:`~cee.geo.MeshHitItem.constructor`



.. container:: api-index-section

   .. rubric:: Properties

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

   * :js:attr:`~cee.geo.MeshHitItem.intersectionPoint`
   * :js:attr:`~cee.geo.MeshHitItem.primitiveIndex`





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

Constructors
============

.. container:: ts-api-section

   .. js:function:: MeshHitItem.constructor()



      :rtype: MeshHitItem



Properties
==========

.. container:: ts-api-section

   .. js:attribute:: MeshHitItem.intersectionPoint

      :type: Vec3

      The intersection point.



.. container:: ts-api-section

   .. js:attribute:: MeshHitItem.primitiveIndex

      :type: number

      The index of the primitive that was hit.



