Click or drag to resize
AB4D logo

DXWireframeHelperSetLineMaterial(Model3D, Double, Color, 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.DirectX
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static void SetLineMaterial(
	Model3D model,
	double lineThickness,
	Color lineColor,
	bool preserveLineColor,
	DXDevice parentDXDevice
)

Parameters

model  Model3D
Model3D
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 Model3D in DXEngine
See Also