Garry's Mod Wiki

IMaterial:IsError

  boolean IMaterial:IsError()

Description

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

Returns

1 boolean
Is this material the error material? (___error)