MaterialKeyedCollection.Add (String, Material) Method

NOTE: This member is now obsolete. Use the method that accepts the material only instead.

Assigns the name to the material then adds it to the collection.
Public Sub Add( _ 
ByVal name As String, _ 
ByVal material As Material
)
This language is not supported or no code example is available.
public void Add( 
string name
Material material 
)
This language is not supported or no code example is available.

Parameters

name
string

The name that will override the material name

material
Material

The material

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition