Table of Contents

Struct MouseButtonEvent

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

Contains information about a mouse button event. This is emitted when a button is pressed or released.

public struct MouseButtonEvent : IWindowEvent
Implements
Inherited Members

Constructors

MouseButtonEvent(WindowEventType, MouseButton)

Create a new MouseButtonEvent.

public MouseButtonEvent(WindowEventType eventType, MouseButton button)

Parameters

eventType WindowEventType

The mouse button event type.

button MouseButton

The button that has been pressed or released.

Fields

Button

The button that has been pressed or released.

public readonly MouseButton Button

Field Value

MouseButton
Contains information about a mouse button event. This is emitted when a button is pressed or released.

Properties

EventType

The WindowEventType of this event.

public readonly WindowEventType EventType { get; }

Property Value

WindowEventType
Contains information about a mouse button event. This is emitted when a button is pressed or released.