Struct MouseMoveEvent
Contains information about a mouse move event.
public struct MouseMoveEvent : IWindowEvent
- Implements
- Inherited Members
Constructors
MouseMoveEvent(int, int, int, int)
Create a new MouseMoveEvent.
public MouseMoveEvent(int x, int y, int xrel, int yrel)
Parameters
x
intThe current mouse X position, in pixels, relative to the window.
y
intThe current mouse Y position, in pixels, relative to the window.
xrel
intThe delta mouse X position.
yrel
intThe delta mouse X position.
Fields
DeltaX
The delta mouse X position.
public readonly int DeltaX
Field Value
- int
- Contains information about a mouse move event.
DeltaY
The delta mouse X position.
public readonly int DeltaY
Field Value
- int
- Contains information about a mouse move event.
MouseX
The current mouse X position, in pixels, relative to the window.
public readonly int MouseX
Field Value
- int
- Contains information about a mouse move event.
MouseY
The current mouse Y position, in pixels, relative to the window.
public readonly int MouseY
Field Value
- int
- Contains information about a mouse move event.
Properties
EventType
The WindowEventType of this event.
public WindowEventType EventType { get; }
Property Value
- WindowEventType
- Contains information about a mouse move event.