docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EditablePathExtensions

    Inheritance
    object
    EditablePathExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.U2D.Path
    Assembly: Unity.2D.Path.Editor.dll
    Syntax
    public static class EditablePathExtensions

    Methods

    CalculateLeftTangent(IEditablePath, int)

    Declaration
    public static Vector3 CalculateLeftTangent(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index
    Returns
    Type Description
    Vector3

    CalculateLocalLeftTangent(IEditablePath, int)

    Declaration
    public static Vector3 CalculateLocalLeftTangent(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index
    Returns
    Type Description
    Vector3

    CalculateLocalRightTangent(IEditablePath, int)

    Declaration
    public static Vector3 CalculateLocalRightTangent(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index
    Returns
    Type Description
    Vector3

    CalculateRightTangent(IEditablePath, int)

    Declaration
    public static Vector3 CalculateRightTangent(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index
    Returns
    Type Description
    Vector3

    GetNextPoint(IEditablePath, int)

    Declaration
    public static ControlPoint GetNextPoint(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index
    Returns
    Type Description
    ControlPoint

    GetPrevPoint(IEditablePath, int)

    Declaration
    public static ControlPoint GetPrevPoint(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index
    Returns
    Type Description
    ControlPoint

    MirrorTangent(IEditablePath, int)

    Declaration
    public static void MirrorTangent(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index

    SetTangentMode(IEditablePath, int, TangentMode)

    Declaration
    public static void SetTangentMode(this IEditablePath path, int index, TangentMode tangentMode)
    Parameters
    Type Name Description
    IEditablePath path
    int index
    TangentMode tangentMode

    ToPolygon(IEditablePath)

    Declaration
    public static Polygon ToPolygon(this IEditablePath path)
    Parameters
    Type Name Description
    IEditablePath path
    Returns
    Type Description
    Polygon

    ToSpline(IEditablePath)

    Declaration
    public static Spline ToSpline(this IEditablePath path)
    Parameters
    Type Name Description
    IEditablePath path
    Returns
    Type Description
    Spline

    UpdateTangentMode(IEditablePath, int)

    Declaration
    public static void UpdateTangentMode(this IEditablePath path, int index)
    Parameters
    Type Name Description
    IEditablePath path
    int index

    UpdateTangentsFromMode(IEditablePath)

    Declaration
    public static void UpdateTangentsFromMode(this IEditablePath path)
    Parameters
    Type Name Description
    IEditablePath path
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)