Click or drag to resize
AB4D logo

WireframeFactoryCreateWireframeLinePositions(MeshGeometry3D, Transform3D, Boolean, Boolean) Method

Creates a Point3DCollection with line positions that form a wireframe for the specified meshGeometry3D.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static Point3DCollection CreateWireframeLinePositions(
	MeshGeometry3D meshGeometry3D,
	Transform3D transform = null,
	bool usePolygonIndices = false,
	bool removedDuplicates = true
)

Parameters

meshGeometry3D  MeshGeometry3D
MeshGeometry3D
transform  Transform3D  (Optional)
optional Transform3D
usePolygonIndices  Boolean  (Optional)
when true and when the PolygonIndices array is set in the mesh, then PolygonIndices are used to define the wireframe lines. Default value is false.
removedDuplicates  Boolean  (Optional)
if true than duplicate lines are removed (this takes more time on CPU to process but is faster when rendering because of reduced number of lines. Default value is true.

Return Value

Point3DCollection
Point3DCollection with line positions that form a wireframe
See Also