41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
namespace UnityEngine.U2D.Animation.TriangleNet
|
|
.Meshing
|
|
{
|
|
/// <summary>
|
|
/// Mesh constraint options for polygon triangulation.
|
|
/// </summary>
|
|
internal class ConstraintOptions
|
|
{
|
|
// TODO: remove ConstraintOptions.UseRegions
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to use regions.
|
|
/// </summary>
|
|
[System.Obsolete("Not used anywhere, will be removed in beta 4.")]
|
|
public bool UseRegions { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to create a Conforming
|
|
/// Delaunay triangulation.
|
|
/// </summary>
|
|
public bool ConformingDelaunay { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to enclose the convex
|
|
/// hull with segments.
|
|
/// </summary>
|
|
public bool Convex { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a flag indicating whether to suppress boundary
|
|
/// segment splitting.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// 0 = split segments (default)
|
|
/// 1 = no new vertices on the boundary
|
|
/// 2 = prevent all segment splitting, including internal boundaries
|
|
/// </remarks>
|
|
public int SegmentSplitting { get; set; }
|
|
}
|
|
}
|