bevy_picking

Module pointer

Source
Expand description

Types and systems for pointer inputs, such as position and buttons.

The picking system is built around the concept of a ‘Pointer’, which is an abstract representation of a user input with a specific screen location. The cursor and touch input is provided under crate::input, but you can also implement your own custom pointers by supplying a unique ID.

The purpose of this module is primarily to provide a common interface that can be driven by lower-level input devices and consumed by higher-level interaction systems.

Structs§

Enums§

  • Types of actions that can be taken by pointers.
  • The button that was just pressed or released
  • Identifies a unique pointer entity. Mouse and Touch pointers are automatically spawned.
  • The stage of the pointer button press event

Functions§