|
WireframeFactoryCreateWireframe(Model3D, Double, Boolean, Color, Boolean, Viewport3D) Method |
Creates 3D lines that represent a wireframe model from the already defined 3D object.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static Model3D CreateWireframe(
Model3D model,
double thickness,
bool preserveLineColor,
Color lineColor,
bool removedDuplicates,
Viewport3D parentViewport3D
)
Parameters
- model Model3D
- original 3D object as Model3D
- thickness Double
- line thickness in screen coordinates
- preserveLineColor Boolean
- if true the line color is taken from the original 3D model
- lineColor Color
- color of the lines (if preserveLineColor is true, lineColor is used as fallback color)
- removedDuplicates Boolean
- if true than duplicate lines are removed
- parentViewport3D Viewport3D
- parent Viewport3D
Return Value
Model3Dwireframe model as GeometryModel3D
Remarks
If preserveLineColor parameter is true, the line color is taken from the original 3D model. If color cannot be found, the color from lineColor parameter is used as fallback value.
If preserveLineColor parameter is false, the color from lineColor parameter is used.
See Also