|
DXWireframeHelperSetLineMaterial(Model3D, LineMaterial, Boolean, DXDevice) Method |
SetLineMaterial method annotates Model3D 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(
Model3D model,
LineMaterial lineMaterial,
bool preserveLineColor,
DXDevice parentDXDevice
)
Parameters
- model Model3D
- Model3D
- lineMaterial LineMaterial
- LineMaterial object with wireframe settings
- 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 generate the dxMaterial - this parameted can be null when the dxMaterial was already initialized (in this case the parentDXDevice is get from the dxMaterial)
See Also