Overrides a single material on the model of this entity.
To set a Lua material created with CreateMaterial, just prepend a "!" to the material name.
Indexes are by Entity:GetMaterials, but you have to subtract 1 from them.
If called with no arguments, all sub materials will be reset.