Table of Contents

Struct MouseInfo

Namespace
Myra.Graphics2D.UI
Assembly
Myra.dll

Represents the state of the mouse input including position and button states.

public struct MouseInfo
Inherited Members

Fields

IsLeftButtonDown

Gets a value indicating whether the left mouse button is currently pressed.

public bool IsLeftButtonDown

Field Value

bool

IsMiddleButtonDown

Gets a value indicating whether the middle mouse button is currently pressed.

public bool IsMiddleButtonDown

Field Value

bool

IsRightButtonDown

Gets a value indicating whether the right mouse button is currently pressed.

public bool IsRightButtonDown

Field Value

bool

Position

Gets the current mouse position in screen coordinates.

public Point Position

Field Value

Point

Wheel

Gets the accumulated mouse wheel delta for the current frame.

public float Wheel

Field Value

float