Click or drag to resize
AB4D logo

ModelIteratorIterateGeometryModel3DObjects(ModelVisual3D, ModelIteratorGeometryModel3DIteratorDelegate, PredicateVisual3D, PredicateModel3D) Method

IterateGeometryModel3DObjects calls the callback delegate for each GeometryModel3D 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 IterateGeometryModel3DObjects(
	ModelVisual3D rootVisual,
	ModelIteratorGeometryModel3DIteratorDelegate callback,
	Predicate<Visual3D> visual3DFilter = null,
	Predicate<Model3D> model3Dfilter = null
)

Parameters

rootVisual  ModelVisual3D
ModelVisual3D
callback  ModelIteratorGeometryModel3DIteratorDelegate
callback delegate that is called for each GeometryModel3D
visual3DFilter  PredicateVisual3D  (Optional)
optional filter that can filter for which Visual3D objects the callback delegate is called.
model3Dfilter  PredicateModel3D  (Optional)
optional filter that can filter for which Model3D objects the callback delegate is called. It can be used to exclude the whole Model3DGroups.
See Also