draw.TexturedQuad
From GMod Wiki
Function | |
Syntax |
draw.TexturedQuad( Table values ) Where is this used? |
Description: | |
Draws a quad represented by a table of values (see Additional Notes below for details on these values) | |
Returns: | nil |
Part of Library: | Draw |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Draw.TexturedQuad]Draw.TexturedQuad [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
Table Values
- texture - Texture ID of the texture to use for the quad.
- x - X coordinate of the upper left corner.
- y - Y coordinate of the upper left corner.
- w - Width of the quad.
- h - Height of the quad.
- color - Table representing the Color of the quad. (default: white)
Silkicons
These things are little icons that can help you with making VGUI stuff. They are drawn with this function. There's a list of them here.
See Also
- Color structure