Click or drag to resize
RenderAreaListenerOnPreRender Method

Triggered before a rendering is done.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public virtual bool OnPreRender(
	RenderArea renderArea,
	out bool clearWindow,
	out bool clearZbuffer
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: the OIV.RemoteViz.Rendering.RenderArea that will perform the rendering.

clearWindow
Type: SystemBoolean

: if true, this clears the graphics window before rendering

clearZbuffer
Type: SystemBoolean

: if true, the z buffer will be cleared before rendering

Return Value

Type: Boolean

false to abort the rendering. 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 rendering will be not aborted.

Remarks

Default behavior : Do the rendering by returning true.

In the OIV.RemoteViz.Rendering.ServiceSettings.RunModes.INDEPENDENT_SERVICE mode, this callback is never triggered.

See Also