mouseScrolled

open override fun mouseScrolled(mouseX: Double, mouseY: Double, deltaX: Double, deltaY: Double): Boolean(source)

Delivers native scroll displacement after mapping vertical sign into the common coordinate contract.

Return

true only when the common host consumes the scroll.

Parameters

mouseX

native logical x coordinate.

mouseY

native logical y coordinate.

deltaX

native horizontal displacement.

deltaY

native vertical displacement, negated at the common boundary.

Throws

when common input, its callback, or terminal cleanup fails.

when invoked away from the Minecraft client thread.