Click or drag to resize
AB4D logo

WpfMeshGeometry3DConverterCreateMesh Method

CreateMesh method converts WPF's MeshGeometry3D into MeshBase

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 6.1.8746.1045
Syntax
C#
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

MeshBase
MeshBase
See Also