Skip to main content

nearest_face_depth

Function nearest_face_depth 

Source
pub fn nearest_face_depth(
    scene: &RenderScene,
    camera: &ViewCamera,
    x: f64,
    y: f64,
    options: &PickOptions,
) -> Option<f64>
Expand description

The view depth of the nearest FACE of scene under CSS-pixel (x, y), if any: what a translucent context scene puts in front of the clicked point.