|
WpfMeshGeometry3DConverterCreateMesh Method |
CreateMesh method converts WPF's MeshGeometry3D into MeshBase
Namespace: Ab3d.DirectX.ModelsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public static MeshBase CreateMesh(
MeshGeometry3D meshGeometry,
DXDevice dxDevice,
bool calculateMissingNormals = true,
string meshName = null
)
Parameters
- meshGeometry MeshGeometry3D
- WPF's MeshGeometry3D
- dxDevice DXDevice
- DXDevice
- calculateMissingNormals Boolean (Optional)
- true to calculate normals if they are not yet defined
- meshName String (Optional)
- name of the mesh (optional)
Return Value
MeshBaseMeshBase
See Also