GetMeshMaterial
Category: Objects
/ Display
Since engine version: 5.1 OC
Description
Returns the material currently set for the calling object.
Syntax
string GetMeshMaterial(int submesh);
Parameter
- submesh:
[opt]
If the mesh is composed of multiple submeshes then this parameter can be used to specify the submesh whose material to query.
Example
Clonk-Karl, 2010-04