ProtoFlux:Mouse Scroll Delta2D

From Resonite Wiki
Revision as of 19:16, 17 April 2024 by AmasterAmaster (talk | contribs) (Created a page for the Mouse Scroll Delta 2D node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Mouse Scroll Delta 2D
*
Mouse

The Mouse Scroll Delta 2D node returns the local user's mouse scroll wheel delta from their Resonite application. If you are focused on the Resonite window, this node will listen for changes on your scroll wheel. The faster you scroll within a frame, the larger the delta.

This node caters to 2D scroll wheels, also called a scroll ball and a track ball. This allows for both the X axis delta and y axis delta to be used in your code, if you only have a scroll wheel, then only the y axis delta is used.

Outputs

* (float2)

The scroll wheel delta for x and y on the mouse this frame.