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: 30ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 12