event_new_mouse_scroll


Description:

[ Version ( since = "1.22" ) ]
public static Event event_new_mouse_scroll (double x, double y, double delta_x, double delta_y, NavigationModifierType state)

Create a new navigation event for the mouse scroll.

Parameters:

x

The x coordinate of the mouse cursor.

y

The y coordinate of the mouse cursor.

delta_x

The x component of the scroll movement.

delta_y

The y component of the scroll movement.

state

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns:

a new Event