pub struct PickEntry {
pub asset_id: AssetId,
pub bb_min: [f32; 3],
pub bb_max: [f32; 3],
}Expand description
One pickable entity in the PickIndex: its asset id and current world-space
AABB. Ray-tested by the editor with gfx::pick::ray_aabb.
Fields§
§asset_id: AssetIdThe pickable entity’s asset id.
bb_min: [f32; 3]Lower corner of the world-space AABB.
bb_max: [f32; 3]Upper corner of the world-space AABB.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PickEntry
impl RefUnwindSafe for PickEntry
impl Send for PickEntry
impl Sync for PickEntry
impl Unpin for PickEntry
impl UnsafeUnpin for PickEntry
impl UnwindSafe for PickEntry
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