Click or drag to resize
AB4D logo

WireframeFactoryAddWireframeLinePositions(ModelVisual3D, Transform3D, Boolean, Boolean, Point3DCollection) Method

Adds line positions that form a wireframe for the specified ModelVisual3D to the specified wireframeLinePositions (Point3DCollection).

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntax
C#
public static void AddWireframeLinePositions(
	ModelVisual3D rootVisual3D,
	Transform3D parentTransform,
	bool usePolygonIndices,
	bool removedDuplicates,
	Point3DCollection wireframeLinePositions
)

Parameters

rootVisual3D  ModelVisual3D
ModelVisual3D
parentTransform  Transform3D
optional Transform3D
usePolygonIndices  Boolean
when true and when the PolygonIndices array is set in the mesh, then PolygonIndices are used to define the wireframe lines.
removedDuplicates  Boolean
if true, then duplicate lines are removed (this takes more time on CPU to process but is faster when rendering because of reduced number of lines
wireframeLinePositions  Point3DCollection
Point3DCollection that will get the added wireframe line positions

Return Value

Point3DCollection with line positions that form a wireframe
See Also