SoEventBuilderGetMouseWheelEvent Method |
Return an OIV.Inventor.Events.SoMouseWheelEvent corresponding to given parameters.
Namespace: OIV.Inventor.ViewerComponents
public SoMouseWheelEvent GetMouseWheelEvent( int delta, bool isAltDown, bool isCtrlDown, bool isShiftDown )
Number of tick mouse wheel has done. For most of mice, one tick correspond to 15 degree on the wheel but it may change depending on hardware.
Specify if Alt key was down when wheel has been activated.
Specify if Ctrl key was down when when wheel has been activated.
Specify if Shift key was down when when wheel has been activated.
The returned object should not be destroyed.