MouseWheelScrolled

sfml.window.Event.MouseWheelScrolled
See theMouseWheelScrolled companion object
final case class MouseWheelScrolled(wheel: Wheel, delta: Float, x: Int, y: Int)

The mouse wheel was scrolled

Value parameters

delta

Wheel offset (positive is up/left, negative is down/right). High-precision mice may use non-integral offsets.

wheel

Which wheel (for mice with multiple ones).

x

X position of the mouse pointer, relative to the left of the owner window.

y

Y position of the mouse pointer, relative to the top of the owner window.

Attributes

Companion
object

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product