Cargo Features

[dependencies]
bevy_mod_picking_f64 = { version = "0.20.2", 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_f64 is added without default-features = false somewhere in the dependency tree.

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_f64::PickableBundle.selection, bevy_mod_picking_f64::PointerBundle.selection

highlight default all?

Enables pbr of bevy_picking_highlight

Affects bevy_mod_picking_f64::PickableBundle.highlight

debug default all? = bevy_core_pipeline, bevy_text

Enables bevy_text of bevy_ui

Affects bevy_mod_picking_f64::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?

Enables avian3d

Gbin: this is a the main change vs mainline

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?