docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MultipleEditablePathController

    Inheritance
    object
    MultipleEditablePathController
    Implements
    IEditablePathController
    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 class MultipleEditablePathController : IEditablePathController

    Properties

    closestEditablePath

    Declaration
    public IEditablePath closestEditablePath { get; }
    Property Value
    Type Description
    IEditablePath

    editablePath

    Declaration
    public IEditablePath editablePath { get; set; }
    Property Value
    Type Description
    IEditablePath

    enableSnapping

    Declaration
    public bool enableSnapping { get; set; }
    Property Value
    Type Description
    bool

    snapping

    Declaration
    public ISnapping<Vector3> snapping { get; set; }
    Property Value
    Type Description
    ISnapping<Vector3>

    Methods

    AddClosestPath(float)

    Declaration
    public void AddClosestPath(float distance)
    Parameters
    Type Name Description
    float distance

    AddPath(IEditablePath)

    Declaration
    public void AddPath(IEditablePath path)
    Parameters
    Type Name Description
    IEditablePath path

    ClearClosestPath()

    Declaration
    public void ClearClosestPath()

    ClearPaths()

    Declaration
    public void ClearPaths()

    ClearSelection()

    Declaration
    public void ClearSelection()

    CreatePoint(int, Vector3)

    Declaration
    public void CreatePoint(int index, Vector3 position)
    Parameters
    Type Name Description
    int index
    Vector3 position

    MoveEdge(int, Vector3)

    Declaration
    public void MoveEdge(int index, Vector3 delta)
    Parameters
    Type Name Description
    int index
    Vector3 delta

    MoveSelectedPoints(Vector3)

    Declaration
    public void MoveSelectedPoints(Vector3 delta)
    Parameters
    Type Name Description
    Vector3 delta

    RegisterUndo(string)

    Declaration
    public void RegisterUndo(string name)
    Parameters
    Type Name Description
    string name

    RemovePath(IEditablePath)

    Declaration
    public void RemovePath(IEditablePath path)
    Parameters
    Type Name Description
    IEditablePath path

    RemoveSelectedPoints()

    Declaration
    public void RemoveSelectedPoints()

    SelectPoint(int, bool)

    Declaration
    public void SelectPoint(int index, bool select)
    Parameters
    Type Name Description
    int index
    bool select

    SetLeftTangent(int, Vector3, bool, bool, Vector3, TangentMode)

    Declaration
    public void SetLeftTangent(int index, Vector3 position, bool setToLinear, bool mirror, Vector3 cachedRightTangent, TangentMode cachedTangentMode)
    Parameters
    Type Name Description
    int index
    Vector3 position
    bool setToLinear
    bool mirror
    Vector3 cachedRightTangent
    TangentMode cachedTangentMode

    SetRightTangent(int, Vector3, bool, bool, Vector3, TangentMode)

    Declaration
    public void SetRightTangent(int index, Vector3 position, bool setToLinear, bool mirror, Vector3 cachedLeftTangent, TangentMode cachedTangentMode)
    Parameters
    Type Name Description
    int index
    Vector3 position
    bool setToLinear
    bool mirror
    Vector3 cachedLeftTangent
    TangentMode cachedTangentMode

    Implements

    IEditablePathController
    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)