DX9ToolsR4 - Created by: X

SimpleMeshCollection.Add Method 

Adds a direct3d.mesh type to the collection.

[Visual Basic]
Public Function Add( _
   ByVal Item As Mesh _
) As Integer
[C#]
public int Add(
   Mesh Item
);

Parameters

Item
A reference to a direct3d.mesh type.

Return Value

Returns the index that the item was added to.

Exceptions

Exception TypeCondition
ArgumentNullException Will throw a ArgumentNullException Exception if 'Item' is nothing.

See Also

SimpleMeshCollection Class | CBX.Libs.DX9ToolsR4.Collections Namespace