Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

RayHit

The face a ray hit. See Model.raytest.

readonly distance: number

How far along the ray the hit is, in multiples of the direction’s length.


readonly face: Face


readonly path: readonly (ComponentInstance | Group)[]

The groups and instances above the face, from the model root down.


readonly point: Point3d

Where the ray hits the face, in world meters.