Model:getMaterialName

Returns the name of a material in the Model.

name = Model:getMaterialName(index)

Arguments

NameTypeDescription
indexnumber The index of a material.

Returns

NameTypeDescription
namestring The name of the material.

See also