Method DrawQuadGradient
DrawQuadGradient(List<ushort>, List<Vertex>, Vector2[], Color, Color)
Draws a quad with color gradient.
Declaration
public static void DrawQuadGradient(List<ushort> indices, List<Vertex> vertices, Vector2[] pts, Color color, Color darkColor)
Parameters
Type | Name | Description |
---|---|---|
List<ushort> | indices | The indices. |
List<Vertex> | vertices | The vertices. |
Vector2[] | pts | The points of the quad. |
Color | color | The color of start of gradient. |
Color | darkColor | Color of the dark gradient target. |