ReloadMaterial()

Syntax

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

Parameters

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().

Return value

None.

Supported OS

All

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