Model:getMaterial

Edit

Returns a Material loaded from the Model.

material = Model:getMaterial(which)

Arguments

NameTypeDescription
whichstring | number The name or index of the Material to return.

Returns

NameTypeDescription
materialMaterial The material.

See also