Documentation

Unity Engine

Download Unity

Unity Engine

MultiTexCoord2(int, float, float)

Sets current texture coordinate (x,y) for the actual texture unit.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void MultiTexCoord2(int unit, float x, float y)

Parameters

Remarks

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.