SurfaceInfo/IsNoDraw

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 2: Line 2:
 
|Description=Checks if the brush surface is a nodraw surface, meaning it will not be drawn by the engine.
 
|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.}}
+
This internally checks the SURFDRAW_NODRAW flag.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 16:14, 21 January 2020

 SurfaceInfo:IsNoDraw( )

Description

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

This internally checks the SURFDRAW_NODRAW flag.

Returns

boolean

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