Table of Contents

Struct MouseScrollEvent

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

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

x float

The delta X position of the scroll wheel.

y float

The delta Y position of the scroll wheel.

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.