Garry's Mod Wiki

Garry's Mod Wiki

Description

Table structure used by matproxy.Add.

Members

string name
The name of the material proxy
function init
The function used to get variables from the ".vmt". Called once per each ".vmt".
Function argument(s):
1 table self - The table structure itself
2 string name - The material name
3 table values - The material key values
function bind
The function used to apply the proxy. This is called every frame while any materials with this proxy are used in world.
Function argument(s):
1 table self - The table structure itself.
2 string name - The material name.
3 Entity ent - The entity the material instance is applied to, if any.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...