RenderAreaListenerOnPreRender Method |
Triggered before a rendering is done.
Namespace: OIV.RemoteViz.Rendering
public virtual bool OnPreRender( RenderArea renderArea, out bool clearWindow, out bool clearZbuffer )
: pointer to the RenderArea
: if true, this clears the graphics window before rendering
: if true, the z buffer will be cleared before rendering
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.
Default behavior : do the rendering by returning true. In the ServiceSettings.INDEPENDENT_SERVICE mode, this callback is never triggered.