Model:getMaterialName
EditReturns the name of a material in the Model.
name = Model:getMaterialName(index)Arguments
| Name | Type | Description |
| index | number | The index of a material. |
Returns
| Name | Type | Description |
| name | string | The name of the material, or nil if the material does not have a name. |