GM/PreDrawSkyBox

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

Description

Called before the sky box 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.

Returns

boolean

Return true to disable skybox drawing (both 2D and 3D skybox)
Personal tools
Navigation