Garry's Mod Wiki


  matproxy.Call( string uname, IMaterial mat, Entity ent )


This is used internally - although you're able to use it you probably shouldn't.

Called by the engine from OnBind. Calls bind method of the Lua material proxy.


1 string uname
The material proxy name.
2 IMaterial mat
The material the proxy is being applied to.
3 Entity ent
The entity the material is applied to.