<vizact>.onwheelup

Registers a function to handle mousewheel up events

 

<vizact>.onwheelup(
    func    
    *args    

)

 

func

The function to call when the mouse wheel is scrolled up


*args

The arguments to pass to the function


Remarks

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

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])