ENTITY:DrawTranslucent

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

Contents

Description

Called when the entity should be drawn translucently.

Arguments

number flags

The bit flags from STUDIO_ Enums

Examples

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


Personal tools
Navigation