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: 9.9.13.0 (9.9.13.0)
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 SoMouseButtonEvent.ANY is passed, this returns true if the event represents a button press of any mouse button.

See Also