Struct MouseState
A struct to contain information about the current mouse state.
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public struct MouseState
Fields
Position
The mouse position in desktop coordinates.
Declaration
public Vector2i Position
Field Value
Type | Description |
---|---|
Vector2i |
PressedButtons
Flags to indicate which mouse buttons are being pressed.
Declaration
public MouseButtonFlags PressedButtons
Field Value
Type | Description |
---|---|
MouseButtonFlags |
Scroll
Virtual position of the scroll wheel.
Declaration
public Vector2 Scroll
Field Value
Type | Description |
---|---|
Vector2 |