Class MultipleEditablePathController
Inheritance
MultipleEditablePathController
Assembly: Unity.2D.Path.Editor.dll
Syntax
public class MultipleEditablePathController : IEditablePathController
Properties
closestEditablePath
Declaration
public IEditablePath closestEditablePath { get; }
Property Value
editablePath
Declaration
public IEditablePath editablePath { get; set; }
Property Value
enableSnapping
Declaration
public bool enableSnapping { get; set; }
Property Value
snapping
Declaration
public ISnapping<Vector3> snapping { get; set; }
Property Value
Methods
AddClosestPath(float)
Declaration
public void AddClosestPath(float distance)
Parameters
Type |
Name |
Description |
float |
distance |
|
AddPath(IEditablePath)
Declaration
public void AddPath(IEditablePath path)
Parameters
ClearClosestPath()
Declaration
public void ClearClosestPath()
ClearPaths()
Declaration
ClearSelection()
Declaration
public void ClearSelection()
CreatePoint(int, Vector3)
Declaration
public void CreatePoint(int index, Vector3 position)
Parameters
MoveEdge(int, Vector3)
Declaration
public void MoveEdge(int index, Vector3 delta)
Parameters
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
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
SetRightTangent(int, Vector3, bool, bool, Vector3, TangentMode)
Declaration
public void SetRightTangent(int index, Vector3 position, bool setToLinear, bool mirror, Vector3 cachedLeftTangent, TangentMode cachedTangentMode)
Parameters
Implements