Something went wrong there.
Blockquote CreatePolygon and ExtrudePolygon which follow the same form as other mesh creations call PolygonMeshBuilder which can be used directly. It has some advantages but cannot be used with faceUVs . The data used in describing the polygon is given in 2D vectors, (x, y) rather than (x 0, z). As well as an array of vector2s the polygon data can be passed as a CreatePolygon and ExtrudePolygon which follow the same form as other mesh creations call PolygonMeshBuilder which can be used directly. It has some advantages but cannot be used with faceUVs . The data used in describing the polygon is given in 2D vectors, (x, y) rather than (x 0, z). As well as an array of vector2s the polygon data can be passed as Path2 object. The advantage of using Path2 is that curves can be described using simple methods rather than your own functions. The data used to describe the polygon shape must be in counter clockwise order.