Garry's Mod Wiki

mesh.TexCoord

  mesh.TexCoord( number set, number u, number v )

Description

Sets the texture coordinates for the next vertex.

Arguments

1 number set
The texture coordinate set, 0 to 7.

Non-zero values require the currently bound material to support it. For example, any LightmappedGeneric material supports sets 1 and 2 (lightmap texture coordinates and bump map texture coords?).

2 number u
U coordinate.
3 number v
V coordinate.