Function veloren_voxygen::session::interactable::get_interactables

source ยท
pub(super) fn get_interactables(
    client: &Client,
    collect_target: Option<Target<Collectable>>,
    entity_target: Option<Target<Entity>>,
    mine_target: Option<Target<Mine>>,
    scene: &Scene,
) -> Result<HashMap<GameInput, (f32, Interactable)>, GetInteractablesError>
Expand description

Scan for any nearby interactables, including further ones if directly targetted.