Show / Hide Table of Contents

Delegate GLFWCallbacks.MouseButtonCallback

The function signature for mouse button callback functions.

Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public delegate void GLFWCallbacks.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
Parameters
Type Name Description
Window* window

The window that received the event.

MouseButton button

The mouse button that was pressed or released.

InputAction action

One of Press or Release.

KeyModifiers mods

Bit field describing which modifier keys were held down.

See Also

SetMouseButtonCallback(Window*, MouseButtonCallback)
In This Article
Back to top Generated by DocFX