Skip to main content

pick_resource_at

Function pick_resource_at 

Source
pub fn pick_resource_at(
    scene: &RdfHolographScene,
    view_projection: &[[f32; 4]; 4],
    w_angle: f32,
    canvas_x: f32,
    canvas_y: f32,
    canvas_w: f32,
    canvas_h: f32,
) -> i32
Expand description

Screen-space pick of a resource crystal. Skips filaments and semantic planes. w_angle matches the shader / overlay Y-rotation about W.