verticesThe list of vertices that define the outline of a polygon to triangulate. Must not be null or empty, and should contain at least 3 vertices for a valid polygon.
holesThe list of internal polygon holes that should not be triangulated. Can be null if no holes are present. If provided, must not contain null lists, and each hole should contain at least 3 vertices.
outVerticesThe list of vertices created from the triangulation. Will be populated with the triangulated mesh vertices.
outIndicesThe list of indices created from the triangulation. Will be populated with triangle indices referencing the output vertices.