Skip to main content

pick_unoccluded

Function pick_unoccluded 

Source
pub fn pick_unoccluded(
    scene: &RenderScene,
    context: &RenderScene,
    camera: &ViewCamera,
    x: f64,
    y: f64,
    options: &PickOptions,
) -> Vec<PickCandidate>
Expand description

pick in scene, without what context hides: a candidate deeper than the nearest context face under the cursor is behind that face. A context drawn translucent (a Work part’s surrounding assembly) is still in front, so a click on it is not a click on the part behind it. Touching faces (a mating face flush with the context) stay pickable.