GetScriptMaterial()
Syntax
Result = GetScriptMaterial(#Material, Name$)Description
Get a material defined in an OGRE script file. Scripts are loaded and parsed when calling Parse3DScripts().
Parameters
#Material A number to identify the new material. #PB_Any can be used to auto-generate this number. Name$ The name of the material in the script files.
Return value
Nonzero if the material was successfully created, zero otherwise. If #PB_Any was used for the #Material parameter then the generated number is returned on success.
Supported OS
All