Click or drag to resize
SoMouseButtonEventIsButtonPressEvent Method

Returns whether the passed event is a mouse button press event of the passed button.

Namespace: OIV.Inventor.Events
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static bool IsButtonPressEvent(
	SoEvent e,
	SoMouseButtonEventButtons whichButton
)

Parameters

e
Type: OIV.Inventor.EventsSoEvent
whichButton
Type: OIV.Inventor.EventsSoMouseButtonEventButtons

Return Value

Type: Boolean
Remarks

When OIV.Inventor.Events.SoMouseButtonEvent.Buttons.ANY is passed, this returns true if the event represents a button press of any mouse button.

See Also