Table of Contents

Struct ScrollInfo

Namespace
Icy.Input.Events
Assembly
IcyUI.dll

Information about the scroll event.

public readonly struct ScrollInfo
Inherited Members
Extension Methods

Constructors

ScrollInfo(float, Orientation)

Initializes a new instance of the ScrollInfo struct.

public ScrollInfo(float delta, Orientation scrollOrientation)

Parameters

delta float

Value of the scroll since the last frame.

scrollOrientation Orientation

Orientation of the scroll.

Fields

Delta

Value of the scroll (relative, platform-dependent).

public readonly float Delta

Field Value

float

ScrollOrientation

Direction of the scroll.

public readonly Orientation ScrollOrientation

Field Value

Orientation