Package playn.core

Class Mouse.WheelEvent

All Implemented Interfaces:
Enclosing class:

public static class Mouse.WheelEvent extends Mouse.Event
An event dispatched when the mouse wheel is scrolled.
  • Field Details

    • velocity

      public final float velocity
      The velocity of the scroll wheel. Negative velocity corresponds to scrolling north/up. Each scroll 'click' is 1 velocity.
  • Constructor Details

    • WheelEvent

      public WheelEvent(int flags, double time, float x, float y, float velocity)