Click or drag to resize
AB4D logo

ExtensionsForEachVisual3D(Visual3DCollection, ActionModelVisual3D) Method

Performs the specified action on each ModelVisual3D inside the visual3DCollection.

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

Parameters

visual3DCollection  Visual3DCollection
Visual3DCollection
action  ActionModelVisual3D
The Action delegate to perform on each ModelVisual3D inside the visual3DCollection

Usage Note

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