Garry's Mod Wiki

Panel:DrawTexturedRect

Panel:DrawTexturedRect

  Panel:DrawTexturedRect()

Description

Draws a textured rectangle to fill the panel object this method is called on. The texture is set using surface.SetTexture or surface.SetMaterial. This should only be called within the object's PANEL:Paint or PANEL:PaintOver hooks, as a shortcut for surface.DrawTexturedRect.

Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 54
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7