mesh.TexCoord

From Garry's Mod
Jump to: navigation, search
 mesh.TexCoord( )

Contents

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).

Arguments

number stage

The stage of the texture coordinate.

Arguments

number u

U coordinate.

Arguments

number v

V coordinate.
Personal tools
Navigation