SurfaceInfo/IsNoDraw

From Garry's Mod
Jump to: navigation, search
 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