Class ConstraintOptions
Mesh constraint options for polygon triangulation.
Inheritance
System.Object
ConstraintOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.U2D.TriangleNet.Meshing
Syntax
public class ConstraintOptions
Properties
ConformingDelaunay
Gets or sets a value indicating whether to create a Conforming Delaunay triangulation.
Declaration
public bool ConformingDelaunay { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Convex
Gets or sets a value indicating whether to enclose the convex hull with segments.
Declaration
public bool Convex { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SegmentSplitting
Gets or sets a flag indicating whether to suppress boundary segment splitting.
Declaration
public int SegmentSplitting { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
0 = split segments (default) 1 = no new vertices on the boundary 2 = prevent all segment splitting, including internal boundaries
UseRegions
Gets or sets a value indicating whether to use regions.
Declaration
[Obsolete("Not used anywhere, will be removed in beta 4.")]
public bool UseRegions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |