Click or drag to resize
Ab4d.SharpEngine logo

TriangulatorTriangulate(Vector2) Method

Triangulate method triangulates the specified points and creates a list of triangle indices that define the polygon.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public static List<int> Triangulate(
	Vector2[] points
)

Parameters

points  Vector2
List of triangle indices that define the polygon

Return Value

ListInt32
List of triangle indices that used to create a 3D mesh
See Also