Class MouseMoveEventArgs
This event is triggered when the mouse moves.
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public class MouseMoveEventArgs : WindowEventArgs
Constructors
MouseMoveEventArgs(WindowHandle, Vector2)
Initializes a new instance of the MouseMoveEventArgs class.
Declaration
public MouseMoveEventArgs(WindowHandle window, Vector2 position)
Parameters
Type | Name | Description |
---|---|---|
WindowHandle | window | The window in which the mouse moved. |
Vector2 | position | The mouse position. |
Properties
Position
The new position of the mouse cursor.
Declaration
public Vector2 Position { get; }
Property Value
Type | Description |
---|---|
Vector2 |