您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
18 行
735 B
18 行
735 B
using UnityEngine;
|
|
|
|
namespace UnityEditor.Experimental.Rendering.Universal.Path2D
|
|
{
|
|
internal interface IDrawer
|
|
{
|
|
void DrawSelectionRect(Rect rect);
|
|
void DrawCreatePointPreview(Vector3 position);
|
|
void DrawRemovePointPreview(Vector3 position);
|
|
void DrawPoint(Vector3 position);
|
|
void DrawPointHovered(Vector3 position);
|
|
void DrawPointSelected(Vector3 position);
|
|
void DrawLine(Vector3 p1, Vector3 p2, float width, Color color);
|
|
void DrawDottedLine(Vector3 p1, Vector3 p2, float width, Color color);
|
|
void DrawBezier(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, float width, Color color);
|
|
void DrawTangent(Vector3 position, Vector3 tangent);
|
|
}
|
|
}
|