Show / Hide Table of Contents

Class MouseMoveEventArgs

This event is triggered when the mouse moves.

Inheritance
object
EventArgs
WindowEventArgs
MouseMoveEventArgs
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.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
In this article
Back to top Generated by DocFX