Garry's Mod Wiki

mesh.Color

  mesh.Color( number r, number g, number b, number a )

Description

Sets the color to be used for the next vertex. See mesh.Begin.

Arguments

1 number r
Red component.
2 number g
Green component.
3 number b
Blue component.
4 number a
Alpha component.