GetScriptMaterial()

语法

Result = GetScriptMaterial(#Material, Name$)
概要
Get a material defined in an OGRE script file. Scripts are loaded and parsed when calling Parse3DScripts().

参数

#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.

返回值

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.

已支持操作系统

所有

<- GetMaterialColor() - Material Index - IsMaterial() ->