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

static function MultiTexCoord2 (unit : int, x : float, y : float) : void


Sets current texture coordinate (x,y) for the actual texture unit.

In OpenGL this matches glMultiTexCoord for the given texture unit if 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.