tModLoader v2024.10
A mod to make and play Terraria mods
UIScrollWheelEvent Class Reference

Inherits UIMouseEvent.

Public Member Functions

 UIScrollWheelEvent (UIElement target, Vector2 mousePosition, int scrollWheelValue)
 
- Public Member Functions inherited from UIMouseEvent
 UIMouseEvent (UIElement target, Vector2 mousePosition)
 
- Public Member Functions inherited from UIEvent
 UIEvent (UIElement target)
 

Public Attributes

readonly int ScrollWheelValue
 
- Public Attributes inherited from UIMouseEvent
readonly Vector2 MousePosition
 
- Public Attributes inherited from UIEvent
readonly UIElement Target
 The element targeted by the mouse event. This is usually the element lowest in the UI hierarchy overlapping with mouse position unless UIElement.IgnoresMouseInteraction is true.