Click or drag to resize
AB4D logo

WireframeFactoryCreateWireframeLinePositions(Model3D, Transform3D, Boolean, Boolean) Method

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

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

Parameters

model3D  Model3D
GeometryModel3D or Model3DGroup
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. Defaulf value is true.

Return Value

Point3DCollection
Point3DCollection with line positions that form a wireframe
See Also