IShape.cs 369 B

12345678910111213141516171819
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace UnityEditor.Experimental.Rendering.Universal.Path2D
  5. {
  6. internal enum ShapeType
  7. {
  8. Polygon,
  9. Spline
  10. }
  11. internal interface IShape
  12. {
  13. ShapeType type { get; }
  14. bool isOpenEnded { get; }
  15. ControlPoint[] ToControlPoints();
  16. }
  17. }