RenderAreaListenerOnPreRender Method |
Triggered before a rendering is done.
Namespace: OIV.RemoteViz.Rendering
public virtual bool OnPreRender( RenderArea renderArea, out bool clearWindow, out bool clearZbuffer )
: the OIV.RemoteViz.Rendering.RenderArea that will perform the rendering.
: 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 OIV.RemoteViz.Rendering.ServiceSettings.RunModes.INDEPENDENT_SERVICE mode, this callback is never triggered.