int TriangleSkin(int &skin, int skinset=0); // to be called after Triangle(), read the skin index per triangle
The skin index is the number of the submesh that you set up in MED in Group mode. skinset is 0 or 1 dependent on whether it's the first or second UV set.