SurfaceInfo/IsNoDraw

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
(Cleanup)
Line 1: Line 1:
 
{{Func
 
{{Func
 
|Description={{NextUpdate}}
 
|Description={{NextUpdate}}
{{Stub}}
+
 
 +
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.}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
Line 7: Line 10:
 
{{Ret
 
{{Ret
 
|type=boolean
 
|type=boolean
|desc=Returns true is drawing is disabled.
+
|desc=Returns true if this surface won't be drawn.
 
}}
 
}}

Revision as of 03:46, 11 December 2019

 SurfaceInfo:IsNoDraw( )

Description

Next Update Change

This feature is only available in the next update.

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