Documentation

Unity Engine

Download Unity

Unity Engine

Vertex3(float, float, float)

Submit a vertex.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void Vertex3(float x, float y, float z)

Parameters

Remarks

In OpenGL this matches
glVertex3f(x,y,z)
; on other graphics APIs the same functionality is emulated.
This function can only be called between GL.Begin and GL.End functions.