GetObjectTextureName

Description

Gets the name of a texture as defined in the model file that it was loaded from, but textures are not guaranteed to have names. Texture names are in the range 1 to GetObjectNumTextures 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 GetObjectTextureName(uint32_t objID, textureIndex)

Parameters