ReloadMaterial()

语法

ReloadMaterial(MaterialName$, ScriptFilename$, ParseScript)
概要
Reloads a material from an OGRE script based on the its name. This is useful when using customized materials stored in script files.

参数

MaterialName$ The material name in scripts.
ScriptFilename$ The script filename.
ParseScript If set to #True the 'ScriptFilename$' is parsed again to get updated material information. If set the #False, the material when the script was parsed first will used. A material can be get from OGRE scripts with GetScriptMaterial().

返回值

无.

已支持操作系统

所有

<- MaterialShininess() - Material Index - RemoveMaterialLayer() ->