About using drawTriangles()

Another advanced method in OpenFL, Graphics.drawTriangles(), is like the Graphics.drawPath() method. The Graphics.drawTriangles() method also uses a Vector object to specify point locations for drawing a path.

However, the real purpose for the Graphics.drawTriangles() method is to facilitate three-dimensional effects through OpenFL. For information about using Graphics.drawTriangles() to produce three-dimensional effects, see Using triangles for 3D effects.

OpenFL supports 3D using Stage3D, as well as the OpenGLView object. These are recommended over drawTriangles() for 3D

results matching ""

    No results matching ""