  | 
WpfMaterialCreateLineMaterial(Material, Color4, Single) Method | 
            CreateLineMaterial converts WPF's material into DXEngine's LineMaterial. Line's color is get from DiffuseMaterial or EmissiveMaterial if present (else default color is used).
            
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntaxpublic LineMaterial CreateLineMaterial(
	Material material,
	Color4 defaultColor,
	float lineThickness
)
Parameters
- material  Material
 - WPF's material
 - defaultColor  Color4
 - color that is used if it cannot be get from WPF material
 - lineThickness  Single
 - line thickness
 
Return Value
LineMaterialDXEngine's LineMaterial
See Also