C# Class Drawing, uNodeEditor

Inheritance: MonoBehaviour
显示文件 Open project: DandyMania/uNodeEditor Class Usage Examples

Public Methods

Method Description
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

矩形塗りつぶし

Private Methods

Method Description
CubeBezier ( Vector2 s, Vector2 st, Vector2 e, Vector2 et, float t ) : Vector2
Drawing ( ) : System.Reflection
Initialize ( ) : void

Method Details

DrawBezierLine() public static method

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
return void

DrawLine() public static method

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
return void

FillRect() public static method

矩形塗りつぶし
public static FillRect ( Rect rect, Color color ) : void
rect Rect
color Color
return void