ModelData:getMaterialName
EditReturns the name of a material in the model.
name = ModelData: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. |