Model:setMaterial

Applies a Material to the Model.

Model:setMaterial(material)

Arguments

NameTypeDescription
materialMaterialThe material to apply to the Model.

Returns

Nothing

Notes

A model's Material will be used when drawing every part of the model. It will override any materials included in the model file. It isn't currently possible to apply multiple materials to different pieces of the Model.

See also