C# Class Drawing, uNodeEditor

Inheritance: MonoBehaviour
Afficher le fichier Open project: DandyMania/uNodeEditor Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

DrawBezierLine() public static méthode

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
Résultat void

DrawLine() public static méthode

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
Résultat void

FillRect() public static méthode

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