Tao.FreeGlut SDK Documentation

Glut.glutPassiveMotionFunc Method 

Sets the passive motion callbacks for the current window.

[Visual Basic]
Public Shared Sub glutPassiveMotionFunc( _
   ByVal func As PassiveMotionCallback _
)
[C#]
public static void glutPassiveMotionFunc(
   PassiveMotionCallback func
);

Parameters

func
The new passive motion callback function. See Glut.PassiveMotionCallback.

Remarks

glutPassiveMotionFunc sets the passive motion callback for the current window. The passive motion callback for a window is called when the mouse moves within the window while no mouse buttons are pressed.

The x and y callback parameters indicate the mouse location in window relative coordinates.

Passing null to glutPassiveMotionFunc disables the generation of the passive motion callback.

See Also

Glut Class | Tao.FreeGlut Namespace | Glut.PassiveMotionCallback | glutMotionFunc