GL.TexCoord Manual     Reference     Scripting  
Scripting > Runtime Classes > GL

static function TexCoord (v : Vector3) : void


Sets current texture coordinate (v.x,v.y,v.z) for all texture units.

In OpenGL this matches glMultiTexCoord for all texture units or glTexCoord when no multi-texturing is available. On other graphics APIs the same functionality is emulated.

This function can only be called between GL.Begin and GL.End functions.