Click or drag to resize
RenderAreaListenerOnMouseDown Method

Triggered when a MouseDown event is received from the client.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public virtual bool OnMouseDown(
	RenderArea renderArea,
	Connection sender,
	int x,
	int y,
	SoMouseButtonEventButtons button
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: the OIV.RemoteViz.Rendering.RenderArea that will process the event

sender
Type: OIV.RemoteViz.RenderingConnection

: the connection that sent the event

x
Type: SystemInt32

: horizontal coordinate

y
Type: SystemInt32

: vertical coordinate

button
Type: OIV.Inventor.EventsSoMouseButtonEventButtons

: The button that was pressed when the mouse event was fired.

Return Value

Type: Boolean

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.

Remarks

Default behavior : Accept the event by returning true.

See Also