C# Класс Drawing, uNodeEditor

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DrawBezierLine ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width, bool antiAlias, int segments ) : void
DrawLine ( Vector2 pointA, Vector2 pointB, Color color, float width, bool antiAlias = false ) : void
FillRect ( Rect rect, Color color ) : void

矩形塗りつぶし

Приватные методы

Метод Описание
CubeBezier ( Vector2 s, Vector2 st, Vector2 e, Vector2 et, float t ) : Vector2
Drawing ( ) : System.Reflection
Initialize ( ) : void

Описание методов

DrawBezierLine() публичный статический Метод

public static DrawBezierLine ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width, bool antiAlias, int segments ) : void
start Vector2
startTangent Vector2
end Vector2
endTangent Vector2
color Color
width float
antiAlias bool
segments int
Результат void

DrawLine() публичный статический Метод

public static DrawLine ( Vector2 pointA, Vector2 pointB, Color color, float width, bool antiAlias = false ) : void
pointA Vector2
pointB Vector2
color Color
width float
antiAlias bool
Результат void

FillRect() публичный статический Метод

矩形塗りつぶし
public static FillRect ( Rect rect, Color color ) : void
rect Rect
color Color
Результат void