DX9ToolsR4 - Created by: X

SimpleLightCollection.Add Method 

Adds a direct3d.light type to the collection.

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

Parameters

Item
A reference to a direct3d.light 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

SimpleLightCollection Class | CBX.Libs.DX9ToolsR4.Collections Namespace