12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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; }
- }
- }
|