<desc>Name of the material to set. It needs to be loaded at engine startup, i.e. it needs to be defined in a *.material file being located in an object that was loaded.</desc>
</param>
<param>
<type>int</type>
<name>submesh</name>
<desc>If the mesh is composed of multiple submeshes then this parameter can be used to specify the submesh whose material is to be changed.</desc>
<optional/>
</param>
</params>
</syntax>
<desc>Changes the material of the calling object's mesh at runtime.</desc>