Struct MouseScrollEvent
Contains information about a mouse scroll event.
public struct MouseScrollEvent : IWindowEvent
- Implements
- Inherited Members
Constructors
MouseScrollEvent(float, float)
Create a new MouseScrollEvent.
public MouseScrollEvent(float x, float y)
Parameters
Fields
X
The delta X position of the scroll wheel.
public readonly float X
Field Value
- float
- Contains information about a mouse scroll event.
Y
The delta Y position of the scroll wheel.
public readonly float Y
Field Value
- float
- Contains information about a mouse scroll event.
Properties
EventType
The WindowEventType of this event.
public WindowEventType EventType { get; }
Property Value
- WindowEventType
- Contains information about a mouse scroll event.