RenderAreaListenerOnMouseDown Method |
Triggered when a MouseDown event is received from the client.
Namespace: OIV.RemoteViz.Rendering
public virtual bool OnMouseDown( RenderArea renderArea, Connection sender, int x, int y, SoMouseButtonEventButtons button )
: the OIV.RemoteViz.Rendering.RenderArea that will process the event
: the connection that sent the event
: horizontal coordinate
: vertical coordinate
: The button that was pressed when the mouse event was fired.
true to process the event, this will apply an OIV.Inventor.Actions.SoHandleEventAction to the scene graph. This return value does not have any effect when the OIV.RemoteViz.Rendering.ServiceSettings.RunModes.INDEPENDENT_SERVICE mode is enabled. If there are many listeners, the logical operator OR will be applied on all the returned value of listeners. If there are no listeners to call, the event will be processed.
Default behavior : Accept the event by returning true.