Method SetMouseCallback
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
SetMouseCallback(MouseCallback, nint)
Sets the callback function for mouse events occuting within the specified window.
public void SetMouseCallback(MouseCallback onMouse, nint userData = 0)
Parameters
onMouseMouseCallbackReference to the function to be called every time mouse event occurs in the specified window.
userDatanint