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
Name | Type | Description |
material | Material | The Material to apply. |
Returns
Nothing
See also
Mesh:getMaterial
Mesh