Garry's Mod Wiki

Revision Difference

mesh.TexCoord#560990

<function name="TexCoord" parent="mesh" type="libraryfunc"> <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). 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). </description> <realm>Client</realm> <args> <arg name="stage" type="number">The stage of the texture coordinate.</arg> <arg name="u" type="number">U coordinate.</arg> <arg name="v" type="number">V coordinate.</arg> </args> </function>