Garry's Mod Wiki

Revision Difference

render.MaterialOverrideByIndex#513069

<function name="MaterialOverrideByIndex" parent="render" type="libraryfunc">⤶ <description>⤶ Similar to <page>render.MaterialOverride</page>, but overrides the materials per index.⤶ ⤶ <page>render.MaterialOverride</page> overrides effects of this function.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="index" type="number">Starts with 0, the index of the material to override</arg>⤶ <arg name="material" type="IMaterial">The material to override with</arg>⤶ </args>⤶ </function>⤶ ⤶