Mesh:setMaterial

Applies a Material to the Mesh. This will cause it to use the Material's properties whenever it is rendered.

Mesh:setMaterial(material)

Arguments

NameTypeDescription
materialMaterialThe Material to apply.

Returns

Nothing

See also