DX9ToolsR4 - Created by: X

MeshEx.SetMaterialCount Method 

Sets the number os materials that are stored.

[Visual Basic]
Public Sub SetMaterialCount( _
   ByVal Count As Integer, _
   Optional ByVal Preserve As Boolean = True _
)
[C#]
public void SetMaterialCount(
   int Count,
   bool Preserve
);

Parameters

Count
The number of materials.
Preserve
If True will preserve existing materials.

See Also

MeshEx Class | CBX.Libs.DX9ToolsR4 Namespace