How can i make it so i can select a mesh, then select the corresponding materials that are linked to that mesh? The variant materials specific to that mesh?
So basically, for the meshes SK_Sneaker_A01 and SK_Boots_A01, how do i make a dropdown menu that has either MI_Sneaker_A01, MI_Sneaker_A02, MI_Sneaker_A03, or, MI_Boots_A01, MI_Boots_A02, MI_Boots_A03, MI_Boots_A04, depending on the SK chosen from another dropdown menu?
An option i had thought of would be to use a Datatable with 1 mesh and multiple materials inputs of that mesh? So a struct within a struct?
But arrays are not supported in datatable for mutable. Only single references.
Since i seem to be having issues uploading this question with the bullet points, i’ll add pictures of what i mean:
[Image Removed]
And then in mutable we’d end up with a dropdown menu below the skeletal meshes that decide the above SK’s material variant if datatable with arrays were supported
Then, if we have a mesh that has multiple material IDs, we can end up with the option to put more arrays in the material Array, so array of material arrays
Either like this:
[Image Removed]
Or put it in a simple function where it decides the variant for each :
[Image Removed]
I’m unsure how to go about it but the long and short of it is i’d like to make a dropdown menu that has only the specific mesh’s materials, but avoid having to make a datatable for every single skeletal mesh of the project.
Thanks in advance!
[Attachment Removed]