Click or drag to resize
AB4D logo

ModelIteratorIterateModelVisualsObjects(IListVisual3D, Transform3D, ModelIteratorModelVisual3DIteratorDelegate, PredicateVisual3D) Method

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

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

Parameters

visuals  IListVisual3D
IList of Visual3D objects
parentTransform3D  Transform3D
start transform
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