SurfaceInfo/IsNoDraw

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Cleanup)
Line 1: Line 1:
 
{{Func
 
{{Func
|Description={{NextUpdate}}
+
|Description=Checks if the brush surface is a nodraw surface, meaning it will not be drawn by the engine.
 
+
Checks if the brush surface is a nodraw surface, meaning it will not be drawn by the engine.
+
  
 
{{Note|This internally checks the SURFDRAW_NODRAW flag.}}
 
{{Note|This internally checks the SURFDRAW_NODRAW flag.}}

Revision as of 16:13, 21 January 2020

 SurfaceInfo:IsNoDraw( )

Description

Checks if the brush surface is a nodraw surface, meaning it will not be drawn by the engine.

NOTE

This internally checks the SURFDRAW_NODRAW flag.

Returns

boolean

Returns true if this surface won't be drawn.
Personal tools
Navigation