pygfx.objects.WheelEvent
- class pygfx.objects.WheelEvent(*args, dx, dy, **kwargs)
Bases:
PointerEvent
Scrolling of the mouse wheel.
- Parameters:
args (Any) – Positional arguments are forwarded to the
base class
.dx (float) – The amount (in rad) by which the wheel was turned around the x-axis.
dy (float) – The amount (in rad) by which the wheel was turned around the y-axis.
kwargs (Any) – Additional keyword arguments are forward to the
base class
.