|
WpfMeshGeometry3DConverterCreateMesh Method |
CreateMesh method converts WPF's MeshGeometry3D into MeshBase
Namespace: Ab3d.DirectX.ModelsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
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