<vizact>.onwheeldown

Registers a function to handle mousewheel down events

 

<vizact>.onwheeldown(
    func    
    *args    

)

 

func

The function to call when the mouse wheel is scrolled down


*args

The arguments to pass to the function


Remarks

The given function will be called when the mouse wheel is scrolled down

Return Value

None

Example

#Use mouse wheel to move viewpoint forward/backward
vizact.onwheelup(viz.MainView.move,[0,0,1])
vizact.onwheeldown(viz.MainView.move,[0,0,-1])