RenderAreaListenerOnMouseWheel Method |
Triggered when client wheel button is rotated.
Namespace: OIV.RemoteViz.Rendering
public virtual bool OnMouseWheel( RenderArea renderArea, Connection sender, int x, int y, int delta )
: pointer to the RenderArea
: pointer to the connection that send the event
: horizontal coordinate
: vertical coordinate
: abstract value which indicates how far the wheel turned
true to process the event, it will apply a SoHandleEventAction to the scene graph. This return value does not have any influence when the ServiceSettings.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.