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: 7.1.9105.2048
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