Expand description
BOX selection (multi-select rework, owner 2026-11-26): the entities a screen rectangle takes, by the common CAD convention —
- WINDOW (dragged left to right): only entities lying FULLY inside the box;
- CROSSING (dragged right to left): anything the box touches.
Visible entities only, by default: an entity is taken only when some part
of it inside the box is what the depth buffer shows (the front face under
that pixel, probed on the CPU exactly as a click picks). Hidden solids,
scene-tree-hidden faces/edges/vertices and display-only (aux) edges are
never taken. The engine applies the selection filter on top
(crate::engine_state::EngineState::box_select).
Structs§
- Screen
Box - A screen rectangle in CSS pixels, any corner order.
Functions§
- box_
pick - Every visible entity
recttakes, as pick candidates (kind, kernel name, owning solid, nearest depth): faces, edges, vertices and solids, with no filter applied. WINDOW or CROSSING by the rectangle’s drag direction.