DarkGDK Programming Wiki
Register
Advertisement

This will return the amount the mouse scroll wheel has moved, in units of 120, since the last frame. If it was scrolled up, a positive value is return, if down a negative one.

Syntax[]

int dbMouseMoveZ ( void ) 

Example[]

The following extract move the camera up by the amount the scroll wheel has moved

dbMoveCameraUp(dbMouseMoveZ()/120);

See Also[]

Advertisement