ScrollEvent

class ScrollEvent(val scene: Scene, val sceneX: Float, val sceneY: Float, val deltaX: Float, val deltaY: Float, val mods: Int) : MouseEventBase

Constructors

Link copied to clipboard
constructor(scene: Scene, sceneX: Float, sceneY: Float, deltaX: Float, deltaY: Float, mods: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val eventType: EventType<ScrollEvent>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val mods: Int
Link copied to clipboard
Link copied to clipboard

The X position of the mouse, relative to the left of the scene. For a position relative to a node :

Link copied to clipboard

The X position of the mouse, relative to the top of the scene. For a position relative to a node :

Functions

Link copied to clipboard
fun consume()

Prevents further processing of this event.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String