MouseWheelScrolled

sfml.window.Event.MouseWheelScrolled
See theMouseWheelScrolled companion object
final case class MouseWheelScrolled(wheel: Wheel, delta: Float, position: Vector2[Int])

Mouse wheel scrolled event subtype.

Value parameters

delta

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

position

Position of the mouse pointer, relative to the top left of the owner window.

wheel

Which wheel (for mice with multiple ones).

Attributes

Companion
object

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product