IMaterial/IsError

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=IsError |Parent=IMaterial |Description=Returns whenever the material was not loaded successfully. |Realm=Shared |IsClass=Yes }} {{Ret |type=boolean |desc=...")
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=IsError
+
|Description=Returns whenever the material is valid, i.e. whether it was not loaded successfully from disk or not.
|Parent=IMaterial
+
|Description=Returns whenever the material was not loaded successfully.
+
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
Line 8: Line 6:
 
{{Ret
 
{{Ret
 
|type=boolean
 
|type=boolean
|desc= isError
+
|desc=Is this material an error material?
 
}}
 
}}

Revision as of 15:41, 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 an error material?
Personal tools
Navigation