MaterialKeyedCollection.Add (String, Image) Method

Adds a new material definition.
Public Sub Add( _ 
ByVal name As String, _ 
ByVal texture As Image
)
This language is not supported or no code example is available.
public void Add( 
string name
Image texture 
)
This language is not supported or no code example is available.

Parameters

name
string

The material name

texture
Image

The material texture image

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition