cameraEventMouseWheel

Event function that is executed if the mouse wheel is rolled while the cursor is on the viewport.

Details

If the mouse wheel is rolled in or out, a dolly or zoom process is started.

Remark

See ref_cameraEventTouchStart()for further explanations about the ViewportEvent*() functions.

Parameters

event

Event object.