Click or drag to resize
SoEventBuilder.GetMouseReleaseEvent Method

Return an SoMouseButtonEvent corresponding to given parameters.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoMouseButtonEvent GetMouseReleaseEvent(
	int x,
	int y,
	SoMouseButtonEvent. Buttons buttonId,
	bool isAltDown,
	bool isCtrlDown,
	bool isShiftDown
)

Parameters

x
Type: System.Int32

X coordinate in pixel.

y
Type: System.Int32

Y coordinate in pixel.

buttonId
Type: OIV.Inventor.Events.SoMouseButtonEvent.Buttons

Which mouse button has been released.

isAltDown
Type: System.Boolean

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

isCtrlDown
Type: System.Boolean

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

isShiftDown
Type: System.Boolean

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

Return Value

Type: SoMouseButtonEvent
Remarks

The returned object should not be destroyed.

See Also