Click or drag to resize
AB4D logo

ExtensionsForEachGeometryModel3D(ModelVisual3D, ActionGeometryModel3D) Method

Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.

Namespace: Ab3d
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static void ForEachGeometryModel3D(
	this ModelVisual3D rootModelVisual3D,
	Action<GeometryModel3D> action
)

Parameters

rootModelVisual3D  ModelVisual3D
root ModelVisual3D
action  ActionGeometryModel3D
The Action delegate to perform on each GeometryModel3D inside the rootModelVisual3D

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ModelVisual3D. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also