Home / Lua / Client / Render / Functions / FillArea

2D


Returns    none
Prototype    Render:FillArea(Vector2 position, Vector2 size, Color draw_color)
Description    Draws a rect at the given position with the given size and color in 2D space.

3D


Returns    none
Prototype    Render:FillArea(Vector3 position, Vector3 size, Color draw_color)
Description    Draws a rect at the given position with the given size and color in 2D space.

Additional Notes

  • The area drawn is aligned at its top left corner.