Documentation

UI::DrawList::AddQuadFilled

Method in DrawList

void AddQuadFilled(const vec2&in topLeft, const vec2&in topRight, const vec2&in bottomRight, const vec2&in bottomLeft, const vec4&in color)

Draws a filled quad.

vec2 topLeft

vec2 topRight

vec2 bottomRight

vec2 bottomLeft

vec4 color

void AddQuadFilled(const vec2&in p1, const vec2&in p2, const vec2&in p3, const vec4&in color)

Draws a filled triangle.

vec2 p1

vec2 p2

vec2 p3

vec4 color