SoSpaceballButtonEventIsButtonPressEvent Method |
Returns whether the passed event is a spaceball button press event of the passed button.
Namespace: OIV.Inventor.Events
public static bool IsButtonPressEvent( SoEvent e, SoSpaceballButtonEventButtons whichButton )
When OIV.Inventor.Events.SoSpaceballButtonEvent.Buttons.ANY is passed, this returns true if the event represents a button press of any spaceball button.