Click or drag to resize
AB4D logo

ExtensionsForEachGeometryModel3D(Model3DGroup, ActionGeometryModel3D) Method

Performs the specified action on each GeometryModel3D inside the rootModel3DGroup.

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

Parameters

rootModel3DGroup  Model3DGroup
root Model3DGroup
action  ActionGeometryModel3D
The Action delegate to perform on each GeometryModel3D inside the rootModel3DGroup

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Model3DGroup. 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