VertexTexCoords
Sets vertex texture coordinates.
VertexTexCoords ( surface,index,u#,v#[,w#][,coord_set] )
Parameters
- surface
- the surface's handle.
- index
- the point's number, counting from 0.
- u#
- across the texture, from 0 at its left edge to 1 at its right. Values past 1 repeat the texture.
- v#
- down the texture, from 0 at the top to 1 at the bottom.
- w# (optional)
- kept for older programs; it has no effect. Defaults to 1.
- coord_set (optional)
- which of the point's two sets of texture positions to set, 0 or 1.
Description
Sets where on a texture a point of a surface is: which part of the picture is stretched over the triangles around it.
