Mesh:setMaterial

Edit

Sets a Material to use when drawing the Mesh.



Arguments

NameTypeDescription
materialMaterial The material to use.

Returns

Nothing

Arguments

NameTypeDescription
textureTexture The texture to use as the material.

Returns

Nothing

See also