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.
"favoriteMaterials_var" is a variable referencing a FavoriteMaterials object.
|
"favoriteMaterials_var" is a variable referencing a FavoriteMaterials 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,. |