docs.unity.cn
    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
    Boolean

    points

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

    Explicit Interface Implementations

    IShape.isOpenEnded

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

    IShape.ToControlPoints()

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

    IShape.type

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

    Extension Methods

    ShapeExtensions.ToSpline(Polygon)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 1, 2022
    Terms of use