.. role:: ts-api-decorator

#######
HitItem
#######

.. js:module:: cee.mrk
   :noindex:

.. container:: ts-api-section

   .. js:class:: HitItem

      HitItem contains the result of a picking operation (``rayIntersect()``) on a MarkupModel.



.. container:: api-index-section

   .. rubric:: Properties

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

   * :js:attr:`~cee.mrk.HitItem.intersectionPoint`
   * :js:attr:`~cee.mrk.HitItem.partIndex`
   * :js:attr:`~cee.mrk.HitItem.primitiveIndex`





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

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: HitItem.intersectionPoint

      :type: Vec3

      The 3d point (in world coordinates) of the intersection between the ray and the primitive that was hit



.. container:: ts-api-section

   .. js:attribute:: HitItem.partIndex

      :type: number

      The index of the part within the MarkupModel



.. container:: ts-api-section

   .. js:attribute:: HitItem.primitiveIndex

      :type: number

      The index of the primitive within the Part



