PointerInputPlugin

PointerInputPlugin

  • is_touch_enabled : bool
  • is_mouse_enabled : bool

Description

Adds mouse and touch inputs for picking pointers to your app. This is a default input plugin, that you can replace with your own plugin as needed.

[crate::PickingPlugin::is_input_enabled] can be used to toggle whether the core picking plugin processes the inputs sent by this, or other input plugins, in one place.

This plugin contains several settings, and is added to the world as a resource after initialization. You can configure pointer input settings at runtime by accessing the resource.

Functions