Material

Draws a material that stretches over the panel's background.

Arguments

IMaterial mat Material to draw

(Optional) Color col Draw color

Example

local mat = Material("icons/money.png")

local pnl = vgui.Create("DPanel")
pnl:ClearPaint()
    :Material(mat)

results matching ""

    No results matching ""