Garry's Mod Wiki
Description
Register a material proxy. See matproxy for more general explanation of what they are.
The
bind function is required. The init function won't run without it set.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 )
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 four times a day. Edits and history are not available.
Last Parsed: Loading...