|
WireframeFactoryAddWireframeLinePositions Method |
Adds line positions that form a wireframe for the specified model3D to the specified wireframeLinePositions (Point3DCollection).
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static void AddWireframeLinePositions(
Model3D model3D,
Transform3D transform,
bool usePolygonIndices,
bool removedDuplicates,
Point3DCollection wireframeLinePositions
)
Parameters
- model3D Model3D
- GeometryModel3D or Model3DGroup
- transform 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 than 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