Garry's Mod Wiki

Revision Difference

GM:PreDrawViewModels#526844

<function name="PreDrawViewModels" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called before view models and entities with RENDERGROUP_VIEWMODEL are drawn.⤶ ⤶ You can use <page>GM:PreDrawEffects</page> as a "PostDrawViewModel" hook as it is called just after the view model(s) are drawn.⤶ ⤶ <rendercontext hook="true" type="3D"></rendercontext>⤶ </description>⤶ <realm>Client</realm>⤶ <predicted>No</predicted>⤶ </function>⤶ ⤶