Click or drag to resize
SoEventBuilderGetMouseWheelEvent Method

Return an OIV.Inventor.Events.SoMouseWheelEvent corresponding to given parameters.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SoMouseWheelEvent GetMouseWheelEvent(
	int delta,
	bool isAltDown,
	bool isCtrlDown,
	bool isShiftDown
)

Parameters

delta
Type: SystemInt32

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.

isAltDown
Type: SystemBoolean

Specify if Alt key was down when wheel has been activated.

isCtrlDown
Type: SystemBoolean

Specify if Ctrl key was down when when wheel has been activated.

isShiftDown
Type: SystemBoolean

Specify if Shift key was down when when wheel has been activated.

Return Value

Type: SoMouseWheelEvent
Remarks

The returned object should not be destroyed.

See Also