GetObjectMeshName

Description

Gets the name of a mesh as defined in the model file that it was loaded from, but meshes are not guaranteed to have names. Mesh indices are in the range 1 to GetObjectNumMeshes inclusive. If you are calling this command from tier 2 you must delete the returned string with agk::DeleteString when you are done with it.

Definition

string GetObjectMeshName( objID, meshIndex )

Parameters