Garry's Mod Wiki

GM:PreDrawViewModels

  GM:PreDrawViewModels()

Description

Called before view models and entities with RENDERGROUP_VIEWMODEL are drawn.

You can use GM:PreDrawEffects as a PostDrawViewModel hook as it is called just after the view model(s) are drawn.

This is a rendering hook which provides a 3d rendering context.