Garry's Mod Wiki

render.MaterialOverrideByIndex

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

Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 24
Generate Html 3
SaveChanges (1) 30
Render Body 0
Render Sidebar 8