Interface PrimHit

Represents an intersecting primitive within a RayPickResult.

See @xeokit/sdk/pick for usage.

interface PrimHit {
    prim: KdLinePrim | KdPointPrim | KdTrianglePrim;
    worldPos: FloatArrayParam;
}

Properties

Properties

Represents the primitive.

worldPos: FloatArrayParam

The 3D World-space coordinates of the ray's intersection with the primitive.