Getting Material off a skeletal Mesh

Hi,

I gave this a try in the third person template and I was able to get a reference to the material using the following method:

Is this what you were looking to accomplish?

Hi!

I have a skeletal Mesh reference variable and want to access and save the materials of that skel mesh (to reassign them later, after having them changed).
Now, i can’t seem to find a possibility to access those materials.
There is a “Get Materials” function, but it spits out an array of “Skeletal Material Structures” which is not a variable type that I seem to be able to create (neither from the variable menu, nor using the “Promote to Variable” option).

Any Ideas?

I think what you did here was to have a SkelMesh Component (the first Node called Mesh). That works perfectly fine.
However, I have a variable that is a Skel Mesh Reference and then it doesn’t work like that :frowning:
I solved it like this now:

1 Like