Returns the specified Material using the name as seen in the user interface. This often isn't a reliable way of accessing a specific material because materials are not required to be unique.
"materials_var" is a variable referencing a Materials object.
|
"materials_var" is a variable referencing a Materials object.
|
Type | Description |
Material | Returns the specified material or null if there isn't a matching name. |
Name | Type | Description |
name | string | The name of the material to return,. |