Revision Difference
render.MaterialOverrideByIndex#551679
<function name="MaterialOverrideByIndex" parent="render" type="libraryfunc">
<description>
Similar to <page>render.MaterialOverride</page>, but overrides the materials per index.⤶
Similar to <page>render.MaterialOverride</page>, but overrides the materials per index. Similar to <page>Entity:SetSubMaterial</page>⤶
<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="index" type="number">The index of the material to override, in range of 0 to 31.</arg>⤶
<arg name="material" type="IMaterial">The material to override with</arg>
</args>
</function>