|
WpfMaterialCreateLineMaterial(Material, Color, Double) 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.0.8865.1045
Syntax public LineMaterial CreateLineMaterial(
Material material,
Color defaultColor,
double lineThickness
)
Parameters
- material Material
- WPF's material
- defaultColor Color
- color that is used if it cannot be get from WPF material
- lineThickness Double
- line thickness
Return Value
LineMaterialDXEngine's LineMaterial
See Also