Garry's Mod Wiki

MatProxyData

Description

Table structure used by matproxy.Add.

Parameters

string name
The name of the material proxy
function init
The function used to get variables from the ".vmt". Called once per each ".vmt". Arguments are:

function bind
The function used to apply the proxy. This is called every frame while any materials with this proxy are used in world. Arguments are: