Garry's Mod Wiki

GM:PreDrawSkyBox

GM:PreDrawSkyBox

  boolean GM:PreDrawSkyBox()

Description

Called before the 3D sky box is drawn. This will not be called for maps with no 3D skybox, or when the 3d skybox is disabled. (r_3dsky 0)

See also GM:PostDrawSkyBox

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

Returns

1 boolean
Return true to disable skybox drawing (both 2D and 3D skybox)

Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 20
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6