SurfaceInfo/IsSky

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Cleanup)
(no point in this being a NOTE. those are meant to highlight important info which this was not)
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Description={{NextUpdate}}
+
|Description=Checks if the brush surface is displaying the skybox.
  
Checks if the brush surface is displaying the skybox.
+
This internally checks the '''SURFDRAW_SKY''' flag.
 
+
{{Note|This internally checks the SURFDRAW_SKY flag.}}
+
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 16:14, 21 January 2020

 SurfaceInfo:IsSky( )

Description

Checks if the brush surface is displaying the skybox.

This internally checks the SURFDRAW_SKY flag.

Returns

boolean

Returns true if the surface is the sky.
Personal tools
Navigation