Method CreateMaterial
CreateMaterial(string, string, bool)
Create a new material from pattern
Declaration
public uint CreateMaterial(string name, string pattern, bool addToMaterialLibrary = true)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the material |
string | pattern | Name of the pattern |
bool | addToMaterialLibrary | Name of the pattern |
Returns
Type | Description |
---|---|
uint |