Click or drag to resize
Ab4d.SharpEngine logo

GraphTriangulator Methods

The GraphTriangulator type exposes the following members.

Methods
 NameDescription
Public methodStatic memberTriangulate(ReadOnlySpan, Void) 
Public methodStatic memberTriangulate(Vector2, Single) Triangulate method triangulates the specified graph polygon points and returns triangle positions and triangle indices. The graphPoints should be defined by increasing X value (each position should have greater X value).
Public methodStatic memberTriangulate(ReadOnlySpan, Void, Single, Single) 
Public methodStatic memberTriangulate(Single, Single, Single, Single) Triangulate method creates triangles under the graph defined by graphValues.
Top
See Also