|
WpfMaterialGetUsedDXMaterial Method |
GetUsedDXMaterial method returns a DXEngine's Material that was created from the WPF material (or null if no DXMaterial was created for the WPF material)
parentDXDevice is requireed to check if the created DXMeshGeometry3D was created for the same device.
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public static Material GetUsedDXMaterial(
Material wpfMaterial,
DXDevice parentDXDevice = null
)
Parameters
- wpfMaterial Material
- WPF material
- parentDXDevice DXDevice (Optional)
- DXDevice that was used to generate the dxMaterial
Return Value
Materialcreated DXEngine's Material or null
See Also