pub struct PickIndex {
pub entries: Vec<PickEntry>,
}Expand description
The per-frame viewport-picking index: every renderable prop entity’s asset id
and world-space AABB, refreshed by GraphicsSystem from the live transforms.
Opt-in: GraphicsSystem only builds it when the resource is already present at
init (the cn editor HUD injection inserts an empty one), so a shipped
runtime never pays for it. Rooms, instanced clusters, and voxel chunks are
not indexed; picking targets authored prop placements.
Fields§
§entries: Vec<PickEntry>One entry per indexed prop entity.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PickIndex
impl RefUnwindSafe for PickIndex
impl Send for PickIndex
impl Sync for PickIndex
impl Unpin for PickIndex
impl UnsafeUnpin for PickIndex
impl UnwindSafe for PickIndex
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