Click or drag to resize
AB4D logo

WireframeFactoryCreateWireframe(MeshGeometry3D, Transform3D, Double, Color, Boolean, Viewport3D) Method

Creates 3D lines that represent a wireframe model from the already defined 3D object.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateWireframe(
	MeshGeometry3D meshGeometry,
	Transform3D transform,
	double thickness,
	Color lineColor,
	bool removedDuplicates,
	Viewport3D parentViewport3D
)

Parameters

meshGeometry  MeshGeometry3D
original 3D object as MeshGeometry3D
transform  Transform3D
Transform3D that is applied to all positions or null if no transformation is applied
thickness  Double
line thickness in screen coordinates
lineColor  Color
color of the lines
removedDuplicates  Boolean
if true than duplicate lines are removed
parentViewport3D  Viewport3D
parent Viewport3D

Return Value

GeometryModel3D
wireframe model as GeometryModel3D
See Also