render.ModelMaterialOverride
Description
Sets a material to override a model's default material. Similar to Entity:SetMaterial except it uses an IMaterial argument and it can be used to change materials on models which are part of the world geometry.
Arguments
Example
Sets the material of all opaque models to the red flashing "ERROR" texture.