matproxy.Add
Description
Register a material proxy. See matproxy for more general explanation of what they are.
Arguments
Example
Adds PlayerColor
proxy. Example taken from lua/matproxy/player_color.lua
.
Output: Adds PlayerColor proxy.
Example
Material proxy values are stored like this:
- In the
.vmt
:
- In Lua ( The Init function of MatProxyData structure )