Interface ITriangulator | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface ITriangulator

    Namespace: UnityEditor.Experimental.U2D.Animation
    Syntax
    public interface ITriangulator

    Methods

    Tessellate(Single, Single, Single, Single, Int32, IList<Vector2>, IList<Edge>, IList<Int32>)

    Declaration
    void Tessellate(float minAngle, float maxAngle, float meshAreaFactor, float largestTriangleAreaFactor, int smoothIterations, IList<Vector2> vertices, IList<Edge> edges, IList<int> indices)
    Parameters
    Type Name Description
    System.Single minAngle
    System.Single maxAngle
    System.Single meshAreaFactor
    System.Single largestTriangleAreaFactor
    System.Int32 smoothIterations
    IList<Vector2> vertices
    IList<Edge> edges
    IList<System.Int32> indices

    Triangulate(IList<Vector2>, IList<Edge>, IList<Int32>)

    Declaration
    void Triangulate(IList<Vector2> vertices, IList<Edge> edges, IList<int> indices)
    Parameters
    Type Name Description
    IList<Vector2> vertices
    IList<Edge> edges
    IList<System.Int32> indices
    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