SoGLRenderActionSetAbortCallback Method (SoGLRenderActionAbortCB) |
Note: This API is now obsolete.
Use AbortCallback property instead.
Sets delegate to call during rendering to test for an abort condition. It will
be called for each node that is traversed. This allows applications to terminate
rendering prematurely if some condition occurs. The delegate methodh should
return one of the AbortCode codes to indicate whether traversal should continue.
Use of the various codes in a delegate can allow applications to modify Open
Inventor's default order of rendering objects in a scene graph.
Namespace: OIV.Inventor.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax[ObsoleteAttribute("Use AbortCallback property instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public void SetAbortCallback(
SoGLRenderActionAbortCB cb
)
<ObsoleteAttribute("Use AbortCallback property instead.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Sub SetAbortCallback (
cb As SoGLRenderActionAbortCB
)
public:
[ObsoleteAttribute(L"Use AbortCallback property instead.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
void SetAbortCallback(
SoGLRenderActionAbortCB^ cb
)
[<ObsoleteAttribute("Use AbortCallback property instead.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
member SetAbortCallback :
cb : SoGLRenderActionAbortCB -> unit
Parameters
- cb
- Type: OIV.Inventor.ActionsSoGLRenderActionAbortCB
See Also