Revision Difference
mesh.TexCoord#565469
<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 sets 1 and 2 (lightmap texture coordinates and bump map texture coords?).</arg>
<arg name="s" type="number">S coordinate.</arg>
<arg name="t" type="number">T coordinate.</arg>⤶
<arg name="t" type="number">T coordinate.⤶
<warning>⤶
This is a required argument, even though sometimes it is necessary to pass only a float without a second number to TEXCOORD. If it is omitted, Gmod will crash with Engine error: `Getting a dynamic mesh without resolving the previous one`.⤶
</warning>⤶
</arg>⤶
<arg name="u" type="number" default="nil" added="2025.08.25">U coordinate.</arg>
<arg name="v" type="number" default="nil" added="2025.08.25">V coordinate.</arg>
</args>
</function>