How to map vertex index to material slot?

Hi! Not sure but you can take a look at FMeshDescription class