|
DXWireframeHelperSetLineMaterial(ModelVisual3D, Double, Color, Boolean, DXDevice) Method |
SetLineMaterial method annotates ModelVisual3D with special property that is used by DXEngine to render the objects with the specified wireframe settings
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public static void SetLineMaterial(
ModelVisual3D visual3D,
double lineThickness,
Color lineColor,
bool preserveLineColor,
DXDevice parentDXDevice
)
Parameters
- visual3D ModelVisual3D
- ModelVisual3D
- lineThickness Double
- line thickness
- lineColor Color
- line color
- preserveLineColor Boolean
- if true than line color is get from the color of the Material used by the GeometryModel3D; if false the lineColor is used for all lines
- parentDXDevice DXDevice
- DXDevice that was used to show ModelVisual3D in DXEngine
See Also