Garry's Mod Wiki

Revision Difference

WEAPON:DrawWorldModelTranslucent#528335

<function name="DrawWorldModelTranslucent" parent="WEAPON" type="hook"> <ishook>yes</ishook> <description>Called when we are about to draw the translucent world model.</description> <realm>Client</realm> <args>⤶ <arg name="flags" type="number">(Next Update)The <page text="STUDIO_">Enums/STUDIO</page> flags for this render operation.</arg>⤶ </args>⤶ </function> <example> <description>Do the default action - render it without any changes.</description> <code> function SWEP:DrawWorldModelTranslucent() self:DrawModel() function SWEP:DrawWorldModelTranslucent( flags ) self:DrawModel( flags ) end </code> </example>