Click or drag to resize
AB4D logo

ModelIteratorIterateModelVisualsObjects(ModelVisual3D, ModelIteratorModelVisual3DIteratorDelegate, PredicateVisual3D) Method

IterateModelVisualsObjects calls the callback delegate for each ModelVisual3D inside rootVisual and its children

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static void IterateModelVisualsObjects(
	ModelVisual3D rootVisual,
	ModelIteratorModelVisual3DIteratorDelegate callback,
	Predicate<Visual3D> visual3DFilter = null
)

Parameters

rootVisual  ModelVisual3D
ModelVisual3D
callback  ModelIteratorModelVisual3DIteratorDelegate
callback delegate that is called for each ModelVisual3D
visual3DFilter  PredicateVisual3D  (Optional)
optional filter that can filter for which Visual3D objects the callback delegate is called.
See Also