GM:PostDrawViewModel

From Garry's Mod
Jump to: navigation, search
 GM:PostDrawViewModel( )

Contents

Description

Called after view model is drawn.

NOTE This is a rendering hook with a 3D rendering context.
This means that the only rendering functions will work in it are functions with a 3D rendering context.
NOTE 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

Entity viewmodel

Players view model

Arguments

Player player

The owner of the weapon/view model

Arguments

Weapon weapon

The weapon the player is currently holding
Personal tools
Navigation