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

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