Click or drag to resize
SoCallbackActionAddPreCallback Method

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: 2024.2.2.0 (10.16.2.0)
Syntax
public void AddPreCallback(
	Type type,
	SoCallbackActionCallbackActionCB cb
)

Parameters

type
Type: SystemType
cb
Type: OIV.Inventor.ActionsSoCallbackActionCallbackActionCB
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