Struct ScrollInfo
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
deltafloatValue of the scroll since the last frame.
scrollOrientationOrientationOrientation of the scroll.
Fields
Delta
Value of the scroll (relative, platform-dependent).
public readonly float Delta
Field Value
ScrollOrientation
Direction of the scroll.
public readonly Orientation ScrollOrientation