Revision Difference
Structures/MatProxyData#516803
<cat>struct</cat>
<structure>⤶
<description>Table structure used by <page>matproxy.Add</page>.</description>⤶
<fields>{{StructureField|string|name|The name of the material proxy</fields>⤶
⤶
</structure>⤶
⤶
{{StructureField|function|init|The function used to get variables from the ".vmt". Called once per each ".vmt". Arguments are:⤶
{{Structure⤶
|Description=Table structure used by <page>matproxy.Add</page>.⤶
|Fields={{StructureField|string|name|The name of the material proxy}}{{StructureField|function|init|The function used to get variables from the ".vmt". Called once per each ".vmt". Arguments are:⤶
* {{FuncArg|table|self}}
* {{FuncArg|string|materialName}}
* {{FuncArg|table|values}}
}}{{StructureField|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:
* {{FuncArg|table|self}}
* {{FuncArg|string|materialName}}
* {{FuncArg|Entity|ent}}
}}
}}