Version: 2020.2
언어: 한국어

GL.LINE_STRIP

매뉴얼로 전환
public static int LINE_STRIP ;

설명

Mode for Begin: draw line strip.

Draws lines between each vertex passed, from the beginning to the end. If you pass three vertices, A, B and C, two lines are drawn: one between A and B, and one between B and C.

To set up the screen for drawing in 2D, use GL.LoadOrtho or GL.LoadPixelMatrix. To set up the screen for drawing in 3D, use GL.LoadIdentity followed by GL.MultMatrix with the desired transformation matrix.

See Also: GL.Begin, GL.End.