Derma_DrawBackgroundBlur

From Garry's Mod
Jump to: navigation, search
 Derma_DrawBackgroundBlur( )

Contents

Description

Draws background blur around the given panel.

Arguments

Panel panel

Panel to draw the background blur around

Arguments

number startTime

Time that the blur began being painted

Examples

Example

Blur being drawn around a panel

function PANEL:Init()
    self.startTime = SysTime()
end

function PANEL:Paint()
    Derma_DrawBackgroundBlur(self, self.startTime)
end

Output:

Background blur is drawn around the panel
Personal tools
Navigation