Show / Hide Table of Contents

Class RawMouseMoveEventArgs

This event is triggered when the mouse moves and raw mouse motion is enabled.

Inheritance
object
EventArgs
WindowEventArgs
RawMouseMoveEventArgs
Inherited Members
WindowEventArgs.Window
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public class RawMouseMoveEventArgs : WindowEventArgs

Constructors

RawMouseMoveEventArgs(WindowHandle, Vector2)

Initializes a new instance of the RawMouseMoveEventArgs class.

Declaration
public RawMouseMoveEventArgs(WindowHandle window, Vector2 delta)
Parameters
Type Name Description
WindowHandle window

The window in which the mouse moved.

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
In this article
Back to top Generated by DocFX