Garry's Mod Wiki

MatProxyData

Description

Table structure used by matproxy.Add.

Parameters

name [string]

The name of the material proxy

init [function]

The function used to get variables from the ".vmt". Called once per each ".vmt". Arguments are:

bind [function]

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