Garry's Mod Wiki

Revision Difference

render.MaterialOverride#560564

<function name="MaterialOverride" parent="render" type="libraryfunc"> <description>Sets the render material override for all next calls of <page>Entity:DrawModel</page>. Also overrides <page>render.MaterialOverrideByIndex</page>.</description> <realm>Client</realm> <args> <arg name="material" type="IMaterial">The material to use as override, use nil to disable.</arg> <arg name="material" type="IMaterial" default="nil">The material to use as override, use nil to disable.</arg> </args> </function>