Click or drag to resize
SoEventBuilderGetMouseMoveEvent Method

Return an OIV.Inventor.Events.SoLocation2Event 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 SoLocation2Event GetMouseMoveEvent(
	int x,
	int y,
	bool isAltDown,
	bool isCtrlDown,
	bool isShiftDown
)

Parameters

x
Type: SystemInt32

X coordinate in pixel.

y
Type: SystemInt32

Y coordinate in pixel.

isAltDown
Type: SystemBoolean

Specify if Alt key was down when mouse has been moved.

isCtrlDown
Type: SystemBoolean

Specify if Ctrl key was down when mouse has been moved.

isShiftDown
Type: SystemBoolean

Specify if Shift key was down when mouse has been moved.

Return Value

Type: SoLocation2Event
Remarks

The returned object should not be destroyed.

See Also