Cargo Features
[dependencies]
bevy_mod_picking = { version = "0.20.1", default-features = false, features = ["all", "selection", "highlight", "debug", "backend_raycast", "backend_rapier", "backend_sprite", "backend_bevy_ui", "backend_egui", "backend_xpbd", "backend_avian"] }
- default = backend_bevy_ui, backend_raycast, backend_sprite, debug, highlight, selection
-
These default features are set whenever
bevy_mod_picking
is added without
somewhere in the dependency tree.default-features = false - all = backend_bevy_ui, backend_egui, backend_rapier, backend_raycast, backend_sprite, backend_xpbd, debug, highlight, selection
- selection default all? = bevy_picking_selection
-
Enables selection of bevy_picking_highlight and bevy_picking_input
Affects
debug::PointerDebug.multiselect
,bevy_mod_picking::PickableBundle.selection
,bevy_mod_picking::PointerBundle.selection
… - highlight default all?
-
Enables pbr of bevy_picking_highlight
Affects
bevy_mod_picking::PickableBundle.highlight
… - debug default all? = bevy_core_pipeline, bevy_text
-
Affects
bevy_mod_picking::debug
… - backend_raycast default all? = bevy_picking_raycast
- backend_rapier all? = bevy_picking_rapier, bevy_rapier3d
- backend_sprite default all? = bevy_picking_sprite
-
Enables sprite of bevy_picking_highlight
- backend_bevy_ui default all? = bevy_color, bevy_picking_ui, bevy_ui
-
Affects
debug::debug_draw
… - backend_egui all? = bevy_egui, bevy_picking_egui
-
Affects
debug::debug_draw_egui
… - backend_xpbd all? = bevy_picking_xpbd, bevy_xpbd_3d
- backend_avian = avian3d, bevy_picking_avian
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- bevy_core_pipeline debug
- bevy_text debug
- bevy_color backend_bevy_ui
-
Enables bevy_color
Optional
- bevy_ui backend_bevy_ui debug
- bevy_egui backend_egui?
-
Enables bevy_egui ^0.28.0
>=0.28, <=0.XX
- bevy_rapier3d backend_rapier?
- bevy_xpbd_3d backend_xpbd?
- avian3d backend_avian?
- bevy_picking_selection selection
- bevy_picking_highlight backend_sprite highlight selection
- bevy_picking_raycast backend_raycast
- bevy_picking_ui backend_bevy_ui
- bevy_picking_rapier backend_rapier?
- bevy_picking_sprite backend_sprite
- bevy_picking_egui backend_egui?
- bevy_picking_xpbd backend_xpbd?
- bevy_picking_avian backend_avian?