Click or drag to resize
AB4D logo

ExtensionsSetPolygonIndices Method

Sets polygonIndices to this MeshGeometry3D with using the PolygonIndicesProperty DependencyProperty. Each polygon must be closed with completing the polygon data with the index of the first position in the polygon. See remakes in PolygonIndicesProperty for more info.

Namespace: Ab3d
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public static void SetPolygonIndices(
	this MeshGeometry3D meshGeometry3D,
	Int32Collection polygonIndices
)

Parameters

meshGeometry3D  MeshGeometry3D
MeshGeometry3D
polygonIndices  Int32Collection
Int32Collection that specifies indexes in the Positions indexes that define the polygon lines.

Usage Note

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