Interface IQualityMesher
Interface for polygon triangulation with quality constraints.
Namespace: UnityEngine.Experimental.U2D.TriangleNet.Meshing
Syntax
public interface IQualityMesher
Methods
Triangulate(IPolygon, ConstraintOptions, QualityOptions)
Triangulates a polygon, applying quality and constraint options.
Declaration
IMesh Triangulate(IPolygon polygon, ConstraintOptions options, QualityOptions quality)
Parameters
Type | Name | Description |
---|---|---|
IPolygon | polygon | The polygon. |
ConstraintOptions | options | Constraint options. |
QualityOptions | quality | Quality options. |
Returns
Type | Description |
---|---|
IMesh | Mesh |
Triangulate(IPolygon, QualityOptions)
Triangulates a polygon, applying quality options.
Declaration
IMesh Triangulate(IPolygon polygon, QualityOptions quality)
Parameters
Type | Name | Description |
---|---|---|
IPolygon | polygon | The polygon. |
QualityOptions | quality | Quality options. |
Returns
Type | Description |
---|---|
IMesh | Mesh |