Creates new DirectX layer Mesh mesh instance with the specified material count.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XMaterialMesh(
	Mesh mesh,
	int materialCount
)

Parameters

mesh
Type: Mesh
The DirectX layer Mesh mesh instance used as source model for working with the mesh.
materialCount
Type: System..::.Int32
Number of used materials.

See Also