Click or drag to resize
SoSpaceballButtonEventIsButtonPressEvent Method

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

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

Parameters

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

Return Value

Type: Boolean
Remarks

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

See Also