No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IEditablePathController.cs 1009B

123456789101112131415161718192021222324
  1. using System;
  2. using UnityEngine;
  3. namespace UnityEditor.U2D.Common.Path
  4. {
  5. internal interface IEditablePathController
  6. {
  7. IEditablePath editablePath { get; set; }
  8. IEditablePath closestEditablePath { get; }
  9. ISnapping<Vector3> snapping { get; set; }
  10. bool enableSnapping { get; }
  11. void RegisterUndo(string name);
  12. void ClearSelection();
  13. void SelectPoint(int index, bool select);
  14. void CreatePoint(int index, Vector3 position);
  15. void RemoveSelectedPoints();
  16. void MoveSelectedPoints(Vector3 delta);
  17. void MoveEdge(int index, Vector3 delta);
  18. void SetLeftTangent(int index, Vector3 position, bool setToLinear, bool mirror, Vector3 cachedRightTangent, TangentMode cachedTangentMode);
  19. void SetRightTangent(int index, Vector3 position, bool setToLinear, bool mirror, Vector3 cachedLeftTangent, TangentMode cachedTangentMode);
  20. void ClearClosestPath();
  21. void AddClosestPath(float distance);
  22. }
  23. }