Click or drag to resize
AB4D logo

DXWireframeHelperSetLineMaterial(Model3D, LineMaterial, Boolean) Method

SetLineMaterial method annotates Model3D with special property that is used by DXEngine to render the objects with the specified wireframe settings

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static void SetLineMaterial(
	Model3D model,
	LineMaterial lineMaterial,
	bool preserveLineColor
)

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
See Also