Garry's Mod Wiki

mesh.TexCoord

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

Description

Sets the texture coordinates for the next vertex.

Non-zero values of stage require the currently bound material to support it. For example, any LightmappedGeneric material supports stages 1 and 2 (lightmap texture coordinates).

Arguments

1 number stage
The stage of the texture coordinate.
2 number u
U coordinate.
3 number v
V coordinate.