Garry's Mod Wiki


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


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).


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