WEAPON/RenderScreen

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 3: Line 3:
  
 
Used by the Tool Gun to render view model screens ({{HookFunction|TOOL|DrawToolScreen}}).
 
Used by the Tool Gun to render view model screens ({{HookFunction|TOOL|DrawToolScreen}}).
 +
 +
 +
{{Note|Materials rendered in this hook require $ignorez parameter to draw properly.}}
 
|Realm=Client
 
|Realm=Client
 
|Predicted=No
 
|Predicted=No
 
}}
 
}}

Latest revision as of 15:19, 25 October 2019

 WEAPON:RenderScreen( )

Description

Called every frame just before GM:RenderScene.

Used by the Tool Gun to render view model screens (TOOL:DrawToolScreen).


NOTE

Materials rendered in this hook require $ignorez parameter to draw properly.

Personal tools
Navigation