Model:getMaterialName
Returns the name of one of the materials in the Model.
name = Model:getMaterialName(index)
Arguments
Name | Type | Description |
index | number | The index of the material to get the name of. |
Returns
Name | Type | Description |
name | string | The name of the material. |
See also
Model:getMaterialCount
Model:getAnimationName
Model:getNodeName
Model