Class RawMouseMoveEventArgs
This event is triggered when the mouse moves and raw mouse motion is enabled.
Inherited Members
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public class RawMouseMoveEventArgs : EventArgs
Constructors
RawMouseMoveEventArgs(Vector2)
Initializes a new instance of the RawMouseMoveEventArgs class.
Declaration
public RawMouseMoveEventArgs(Vector2 delta)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | delta | The raw mouse delta. |
Properties
Delta
The unscaled movement value of the mouse. Positive X and Y deltas indicate a right and down movement, while negative X and Y deltas indicate a left and up movement. The absolute values of this property will be different between different hardware.
Declaration
public Vector2 Delta { get; }
Property Value
| Type | Description |
|---|---|
| Vector2 |