Click or drag to resize
RenderAreaListenerOnMouseWheel Method

Triggered when client wheel button is rotated.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax
public virtual bool OnMouseWheel(
	RenderArea renderArea,
	Connection sender,
	int x,
	int y,
	int delta
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: pointer to the OIV.RemoteViz.Rendering.RenderArea

sender
Type: OIV.RemoteViz.RenderingConnection

: pointer to the connection that send the event

x
Type: SystemInt32

: horizontal coordinate

y
Type: SystemInt32

: vertical coordinate

delta
Type: SystemInt32

: abstract value which indicates how far the wheel turned

Return Value

Type: Boolean

true to process the event, it will apply a OIV.Inventor.Actions.SoHandleEventAction to the scene graph. This return value does not have any influence 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.

Remarks

Default behavior : accept the event by returning true.

See Also