Show / Hide Table of Contents

Struct MouseState

A struct to contain information about the current mouse state.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
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
In this article
Back to top Generated by DocFX