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

    Interface IEditablePath

    Inherited Members
    ISelectable<Vector3>.Select(ISelector<Vector3>)
    Namespace: UnityEditor.U2D.Path
    Syntax
    public interface IEditablePath : ISelectable<Vector3>

    Properties

    forward

    Declaration
    Vector3 forward { get; set; }
    Property Value
    Type Description
    Vector3

    isOpenEnded

    Declaration
    bool isOpenEnded { get; set; }
    Property Value
    Type Description
    System.Boolean

    localToWorldMatrix

    Declaration
    Matrix4x4 localToWorldMatrix { get; set; }
    Property Value
    Type Description
    Matrix4x4

    pointCount

    Declaration
    int pointCount { get; }
    Property Value
    Type Description
    System.Int32

    right

    Declaration
    Vector3 right { get; set; }
    Property Value
    Type Description
    Vector3

    selection

    Declaration
    ISelection<int> selection { get; }
    Property Value
    Type Description
    ISelection<System.Int32>

    shapeType

    Declaration
    ShapeType shapeType { get; set; }
    Property Value
    Type Description
    ShapeType

    undoObject

    Declaration
    IUndoObject undoObject { get; set; }
    Property Value
    Type Description
    IUndoObject

    up

    Declaration
    Vector3 up { get; set; }
    Property Value
    Type Description
    Vector3

    Methods

    AddPoint(ControlPoint)

    Declaration
    void AddPoint(ControlPoint controlPoint)
    Parameters
    Type Name Description
    ControlPoint controlPoint

    Clear()

    Declaration
    void Clear()

    GetPoint(Int32)

    Declaration
    ControlPoint GetPoint(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    ControlPoint

    InsertPoint(Int32, ControlPoint)

    Declaration
    void InsertPoint(int index, ControlPoint controlPoint)
    Parameters
    Type Name Description
    System.Int32 index
    ControlPoint controlPoint

    RemovePoint(Int32)

    Declaration
    void RemovePoint(int index)
    Parameters
    Type Name Description
    System.Int32 index

    SetPoint(Int32, ControlPoint)

    Declaration
    void SetPoint(int index, ControlPoint controlPoint)
    Parameters
    Type Name Description
    System.Int32 index
    ControlPoint controlPoint

    Extension Methods

    EditablePathExtensions.ToPolygon(IEditablePath)
    EditablePathExtensions.ToSpline(IEditablePath)
    EditablePathExtensions.CalculateLocalLeftTangent(IEditablePath, Int32)
    EditablePathExtensions.CalculateLeftTangent(IEditablePath, Int32)
    EditablePathExtensions.CalculateLocalRightTangent(IEditablePath, Int32)
    EditablePathExtensions.CalculateRightTangent(IEditablePath, Int32)
    EditablePathExtensions.GetPrevPoint(IEditablePath, Int32)
    EditablePathExtensions.GetNextPoint(IEditablePath, Int32)
    EditablePathExtensions.UpdateTangentMode(IEditablePath, Int32)
    EditablePathExtensions.UpdateTangentsFromMode(IEditablePath)
    EditablePathExtensions.SetTangentMode(IEditablePath, Int32, TangentMode)
    EditablePathExtensions.MirrorTangent(IEditablePath, Int32)
    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