Garry's Mod Wiki

ENTITY:DrawTranslucent

ENTITY:DrawTranslucent( number flags )

Description

Called when the entity should be drawn translucently. If your scripted entity has a translucent model, it will be invisible unless it is drawn here.

Arguments

1 number flags
The bit flags from Enums/STUDIO

Example

The default action for this hook is to call ENTITY:Draw.

function ENT:DrawTranslucent() -- This is here just to make it backwards compatible. -- You shouldn't really be drawing your model here unless it's translucent self:Draw() end

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 10
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 9