Class ConstraintOptions | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023