SurfaceInfo/IsWater

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Cleanup)
(link to SURFDRAW?)
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Description={{NextUpdate}}
+
|Description=Checks if the brush surface is water.
  
Checks if the brush surface is water.
+
This internally checks the '''SURFDRAW_WATER''' flag.
 
+
{{Note|This internally checks the SURFDRAW_WATER flag.}}
+
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 16:15, 21 January 2020

 SurfaceInfo:IsWater( )

Description

Checks if the brush surface is water.

This internally checks the SURFDRAW_WATER flag.

Returns

boolean

Returns true if the surface is water.
Personal tools
Navigation