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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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