Garry's Mod Wiki

Revision Difference

mesh.TexCoord#561014

<function name="TexCoord" parent="mesh" type="libraryfunc"> <description> Sets the texture coordinates for the next vertex. </description> <realm>Client</realm> <args> <arg name="set" type="number">The texture coordinate set, 0 to 7. 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> 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?).</arg> <arg name="u" type="number">U coordinate.</arg> <arg name="v" type="number">V coordinate.</arg> </args> </function>