暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IEditablePath.cs 806B

123456789101112131415161718192021222324
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. namespace UnityEditor.U2D.Common.Path
  4. {
  5. internal interface IEditablePath : ISelectable<Vector3>
  6. {
  7. ShapeType shapeType { get; set; }
  8. IUndoObject undoObject { get; set; }
  9. ISelection<int> selection { get; }
  10. Matrix4x4 localToWorldMatrix { get; set; }
  11. Vector3 forward { get; set; }
  12. Vector3 up { get; set; }
  13. Vector3 right { get; set; }
  14. bool isOpenEnded { get; set; }
  15. int pointCount { get; }
  16. ControlPoint GetPoint(int index);
  17. void SetPoint(int index, ControlPoint controlPoint);
  18. void AddPoint(ControlPoint controlPoint);
  19. void InsertPoint(int index, ControlPoint controlPoint);
  20. void RemovePoint(int index);
  21. void Clear();
  22. }
  23. }