Click or drag to resize
AB4D logo

WireframeFactoryCreateWireframe(MeshGeometry3D, Transform3D, Double, Color, Visual3D) 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,
	Visual3D parentVisual3D
)

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
parentVisual3D  Visual3D
parent Visual3D

Return Value

GeometryModel3D
wireframe model as GeometryModel3D
See Also