SoEventBuilderGetMousePressEvent Method |
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public SoMouseButtonEvent GetMousePressEvent(
int x,
int y,
SoMouseButtonEventButtons buttonId,
bool isAltDown,
bool isCtrlDown,
bool isShiftDown
)
Public Function GetMousePressEvent (
x As Integer,
y As Integer,
buttonId As SoMouseButtonEventButtons,
isAltDown As Boolean,
isCtrlDown As Boolean,
isShiftDown As Boolean
) As SoMouseButtonEvent
public:
SoMouseButtonEvent^ GetMousePressEvent(
int x,
int y,
SoMouseButtonEventButtons buttonId,
bool isAltDown,
bool isCtrlDown,
bool isShiftDown
)
member GetMousePressEvent :
x : int *
y : int *
buttonId : SoMouseButtonEventButtons *
isAltDown : bool *
isCtrlDown : bool *
isShiftDown : bool -> SoMouseButtonEvent
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 pressed.
- isAltDown
- Type: SystemBoolean
Specify if Alt key was down when mouse has been pressed.
- isCtrlDown
- Type: SystemBoolean
Specify if Ctrl key was down when mouse has been pressed.
- isShiftDown
- Type: SystemBoolean
Specify if Shift key was down when mouse has been pressed.
Return Value
Type:
SoMouseButtonEventRemarks The returned object should not be destroyed.
See Also