Struct Polygon | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Polygon

    Namespace: UnityEditor.U2D.Path
    Syntax
    public struct Polygon : IShape

    Fields

    empty

    Declaration
    public static Polygon empty
    Field Value
    Type Description
    Polygon

    isOpenEnded

    Declaration
    public bool isOpenEnded
    Field Value
    Type Description
    System.Boolean

    points

    Declaration
    public Vector3[] points
    Field Value
    Type Description
    Vector3[]

    Explicit Interface Implementations

    IShape.isOpenEnded

    Declaration
    bool IShape.isOpenEnded { get; }
    Returns
    Type Description
    System.Boolean
    Implements
    IShape.isOpenEnded

    IShape.ToControlPoints()

    Declaration
    ControlPoint[] IShape.ToControlPoints()
    Returns
    Type Description
    ControlPoint[]
    Implements
    IShape.ToControlPoints()

    IShape.type

    Declaration
    ShapeType IShape.type { get; }
    Returns
    Type Description
    ShapeType
    Implements
    IShape.type

    Extension Methods

    ShapeExtensions.ToSpline(Polygon)
    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