Garry's Mod Wiki

render.MaterialOverrideByIndex

render.MaterialOverrideByIndex( number index, IMaterial material )

Description

Similar to render.MaterialOverride, but overrides the materials per index.

render.MaterialOverride overrides effects of this function.

Arguments

1 number index
Starts with 0, the index of the material to override
2 IMaterial material
The material to override with

Page Links


Special Pages


Wikis

?

Render Time: 124ms

DB GetPage 43
Generate Html 3
SaveChanges (1) 63
Render Body 0
Render Sidebar 12