Garry's Mod Wiki

Revision Difference

ENTITY:DrawTranslucent#518974

<function name="DrawTranslucent" parent="ENTITY" type="hook"> <ishook>yes</ishook> <description>Called when the entity should be drawn translucently.</description> <realm>Client</realm> <predicted>No</predicted> <args> <arg name="flags" type="number">The bit flags from <page>STUDIO</page></arg>⤶ <arg name="flags" type="number">The bit flags from <page>Enums/STUDIO</page></arg>⤶ </args> </function> <example> <description>The default action for this hook is to call <page>ENTITY:Draw</page>.</description> <code> 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 </code> </example>