Fires when user releases the middle mouse button.
SGWorld.attachEvent(“onMButtonUp”, myOnMButtonUp);
function myOnMButtonUp(flags, x, y)
Parameter |
Description |
flags |
Indicates if a virtual key is down Can be any combination of the following values:
|
x |
The x coordinate of the mouse The coordinates are given in screen coordinates, with the origin at the top-left corner of the 3D Window |
y |
The y coordinate of the mouse The coordinates are given in screen coordinates, with the origin at the top-left corner of the 3D Window |
Remarks
Returning true informs Skyline Globe Control that the user handled the mouse action and does not wish Skyline Globe Control to respond to the mouse action. When false is returned, Skyline Globe Control handles the mouse action normally.