Garry's Mod Wiki

matproxy.Call

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

Description

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.

Arguments

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.