Garry's Mod Wiki

GM:PostDrawViewModel

GM:PostDrawViewModel( Entity viewmodel, Player player, Weapon weapon )

Description

Called after view model is drawn.

This is a rendering hook which provides a 3d rendering context.
The 3D rendering context in this event is different from the main view. Every render operation will only be accurate with the view model entity.

Arguments

1 Entity viewmodel
Players view model
2 Player player
The owner of the weapon/view model
3 Weapon weapon
The weapon the player is currently holding

Page Links


Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 17
Render Body 0
Render Sidebar 12