Triangulate vertices using triangulate and create a new Mesh from the result.
vertices
Unique vertices of the polygon
Optional, indices into vertices to mark which sections are islands
Mesh of the triangulated polygon
Triangulate
vertices
using triangulate and create a new Mesh from the result.