HitItem
-
class
cee.vs.HitItem() An object describing the result of a picking action on a
StreamModel.Returned by
StreamModel.rayIntersect
Properties
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