GM/RenderScene

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|Description=Render the scene. Used by the "Stereoscopy" Post-processing effect.
 
|Description=Render the scene. Used by the "Stereoscopy" Post-processing effect.
 
[[Category:Render Hooks]]
 
[[Category:Render Hooks]]
 +
 +
 +
{{Note|Materials rendered in this hook require $ignorez parameter to draw properly.}}
 
|Realm=Client
 
|Realm=Client
 
|Predicted=No
 
|Predicted=No
|Name=RenderScene
 
|Parent=GM
 
 
}}
 
}}
 
{{Arg
 
{{Arg

Revision as of 15:19, 25 October 2019

 GM:RenderScene( )

Contents

Description

Render the scene. Used by the "Stereoscopy" Post-processing effect.


NOTE

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

Arguments

Vector origin

View origin

Arguments

Angle angles

View angles

Arguments

number fov

View FOV

Returns

boolean

Return true to override drawing the scene
Personal tools
Navigation