# HitItem

class `cee.vs.``HitItem`()

  An object describing the result of a picking action on a `StreamModel`.

  Returned by `StreamModel.rayIntersect`

Properties

- `groupResourceKey`
- `instanceIdx`
- `instanceUserRef`
- `intersectionPoint`
- `intersectionPointNormal`
- `meshUserRef`
- `polygonCentroid`
- `srcPolyId`
- `srcVertexId`

## Properties

`HitItem.``groupResourceKey`

  Type: | string

  The resource key of the group that the hit’s instance belongs to.

`HitItem.``instanceIdx`

  Type: | number

  An index of the instance hit within the `groupResourceKey`.

`HitItem.``instanceUserRef`

  Type: | string

  The user assigned userRef string for the mesh instance that was hit.

`HitItem.``intersectionPoint`

  Type: | Vec3

  Intersection point of the hit in world coordinates.

`HitItem.``intersectionPointNormal`

  Type: | Vec3

  The normal at the intersectionPoint.

`HitItem.``meshUserRef`

  Type: | string

  The user specified userRef string of the referenced polygon’s mesh.

`HitItem.``polygonCentroid`

  Type: | Vec3

  Centroid of the polygon which was hit.

`HitItem.``srcPolyId`

  Type: | number

  The source id of the polygon that was hit, -1 if not specified

`HitItem.``srcVertexId`

  Type: | number

  The source id of the closest vertex, -1 if not specified

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Web or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...