ScrollEvent

class ScrollEvent(    val direction: ScrollDirection,     val isControlDown: Boolean,     val isShiftDown: Boolean,     val isAltDown: Boolean) : InputEvent

Event that gets raised for mouse wheel inputs.

Constructors

Link copied to clipboard
fun ScrollEvent(    direction: ScrollDirection,     isControlDown: Boolean,     isShiftDown: Boolean,     isAltDown: Boolean)

Creates a ScrollEvent.

Properties

Link copied to clipboard
val direction: ScrollDirection

The scroll direction.

Link copied to clipboard
val isAltDown: Boolean

Whether alt key was pressed.

Link copied to clipboard
val isControlDown: Boolean

Whether control key was pressed.

Link copied to clipboard
val isShiftDown: Boolean

Whether shift key was pressed.