.. role:: ts-api-decorator

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

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

.. container:: ts-api-section

   .. js:class:: HitItem

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



.. container:: api-index-section

   .. rubric:: Properties

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

   * :js:attr:`~cee.geo.HitItem.intersectionPoint`
   * :js:attr:`~cee.geo.HitItem.partIndex`
   * :js:attr:`~cee.geo.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 GeometryModel



.. container:: ts-api-section

   .. js:attribute:: HitItem.primitiveIndex

      :type: number

      The index of the primitive within the part's Mesh



