Garry's Mod Wiki

Revision Difference

WEAPON:DrawWorldModelTranslucent#553197

<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">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( flags ) self:DrawModel( flags ) end </code> </example>