Returns a boolean indicating whether or not a material exists in the material database.
Syntax |
Description |
---|---|
materialexists("materialname"); |
Returns 1 if the material named "materialname" is present in the material database. Otherwise return 0. |
See Also
List of commands , addmaterial , deletematerial , setmaterial , getmaterial , copymaterial