Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GL.MultiTexCoord2

public static void MultiTexCoord2(int unit, float x, float y);

Description

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.

no example available in C#

Did you find this page useful? Please give it a rating: