Garry's Mod Wiki

Revision Difference

mesh.TexCoord#561013

<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. Each UV set begins with a 0, 2, 4 and 6. <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> <arg name="u" type="number">U coordinate.</arg> <arg name="v" type="number">V coordinate.</arg> </args> </function>