pub enum PickQuery {
Screen {
x: f64,
y: f64,
},
Geo {
coord: GeoCoord,
},
Ray {
origin: DVec3,
direction: DVec3,
},
}Expand description
Input for a pick operation.
Callers specify one of three entry-point types:
- Screen – pixel coordinates relative to the viewport origin.
- Geo – a geographic coordinate (lat/lon/alt).
- Ray – a world-space ray in the active scene projection.
All three are resolved through the same engine-owned query pipeline.
Variants§
Screen
Pick at a screen-space pixel coordinate.
Fields
Geo
Pick at a geographic coordinate.
Ray
Pick along a world-space ray in the active scene projection.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PickQuery
impl RefUnwindSafe for PickQuery
impl Send for PickQuery
impl Sync for PickQuery
impl Unpin for PickQuery
impl UnsafeUnpin for PickQuery
impl UnwindSafe for PickQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more