IMaterial/IsError

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
{{Ret
 
{{Ret
 
|type=boolean
 
|type=boolean
|desc=Is this material an error material?
+
|desc=Is this material the error material? (__error)
 
}}
 
}}

Revision as of 15:42, 18 September 2019

 IMaterial:IsError( )

Description

Returns whenever the material is valid, i.e. whether it was not loaded successfully from disk or not.

Returns

boolean

Is this material the error material? (__error)
Personal tools
Navigation