Table of Contents

Struct MouseMoveEvent

Namespace
Pie.Windowing.Events
Assembly
Pie.Windowing.dll

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 int

The current mouse X position, in pixels, relative to the window.

y int

The current mouse Y position, in pixels, relative to the window.

xrel int

The delta mouse X position.

yrel int

The 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.