pub fn pick_filtered(
scene: &RenderScene,
camera: &ViewCamera,
x: f64,
y: f64,
options: &PickOptions,
filter: &[String],
) -> Option<PickCandidate>Expand description
The nearest hit of an ALLOWED KIND under CSS-pixel (x, y), using the same
ranking as pick. filter is a set of kind strings ("SOLID", "FACE",
"EDGE", "VERTEX", case-insensitive); an empty filter means any kind. This
is the type-constrained pick the reference-selection widget uses so a
targetSolid field resolves the SOLID under the cursor (candidates rank
faces first, then the trailing SOLID entry — find walks that order and
returns the first candidate whose kind is allowed). Returns the full
candidate (name + owning solid + position) or None on a miss.