HitItem

class cee.geo.HitItem()

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

Properties

cee.geo.HitItem.intersectionPoint
intersectionPoint: Vec3

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

cee.geo.HitItem.partIndex
partIndex: number

The index of the part within the GeometryModel

cee.geo.HitItem.primitiveIndex
primitiveIndex: number

The index of the primitive within the part’s Mesh