Garry's Mod Wiki

Revision Difference

mesh.TexCoord#560998

<function name="TexCoord" parent="mesh" type="libraryfunc"> <description> Sets the texture coordinates for the next vertex. </description> <realm>Client</realm> <args> <arg name="stage" type="number">The stage of the texture coordinate. 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).</arg> <arg name="stage" type="number">The "stage" of the texture coordinate. Each UV set begins with a 0, 2, 4 and 6. Non-zero values require the currently bound material to support it. For example, any `LightmappedGeneric` material supports stages 1 and 2 (lightmap texture coordinates).</arg> <arg name="u" type="number">U coordinate.</arg> <arg name="v" type="number">V coordinate.</arg> </args> </function>