How to get static mesh material ?

Hi everyone

For skeletal mesh there is materials attribute to get slot name

I saw there is a attribute ‘material_slot_name’ in staticMaterial , but I don’t know how to get static material

Or there is any other way to get static mesh slot name?


Here is document for static material