Click or drag to resize
SoEventBuilderGetMouseReleaseEvent Method

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

Parameters

x
Type: SystemInt32

X coordinate in pixel.

y
Type: SystemInt32

Y coordinate in pixel.

buttonId
Type: OIV.Inventor.EventsSoMouseButtonEventButtons

Which mouse button has been released.

isAltDown
Type: SystemBoolean

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

isCtrlDown
Type: SystemBoolean

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

isShiftDown
Type: SystemBoolean

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