Garry's Mod Wiki

Garry's Mod Wiki

  WEAPON:ViewModelDrawn( Entity ViewModel, number flags )

Description

Called straight after the view model has been drawn. This is called before GM:PostDrawViewModel and WEAPON:PostDrawViewModel.

See WEAPON:DrawWorldModel for world model rendering.

See also WEAPON:PreDrawViewModel and WEAPON:PostDrawViewModel.

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

Arguments

1 Entity ViewModel
Players view model
2 number flags
The STUDIO_ flags for this render operation.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...