Click or drag to resize
SoCallbackAction.AddPreCallback Method (Type, SoCallbackAction.CallbackActionCB)

Adds a callback function to call when a node of the given type is encountered during traversal.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void AddPreCallback(
	Type type,
	SoCallbackAction. CallbackActionCB cb
)

Parameters

type
Type: System.Type
cb
Type: OIV.Inventor.Actions.SoCallbackAction.CallbackActionCB
Remarks

The PreCallback is called just before the node is traversed, and the PostCallback is called just after. The value returned by a callback function indicates whether the action should continue with the traversal.

See Also