Garry's Mod Wiki

matproxy.ShouldOverrideProxy

  boolean matproxy.ShouldOverrideProxy( string name )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called by engine to determine if a certain material proxy is registered in Lua.

Arguments

1 string name
The name of proxy in question

Returns

1 boolean
Whether the material proxy of given name is registered.