Get named material instance

I have a static mesh and a set of material instances in UE4.8.

I want to swap between these material instances in a construction script, in effect making a material selector for the blueprint object.

I have found a “Get Named Material” node in the documentation but I can’t get to it in the editor.

Can anyone tell me how to access this node?

HI!

You can not use this function because it works only with Particle system.
Try the following:

Create needed material instances. Then create Enumeration and add names all your shader instances.

Open your object blueprint and in Construction Script create variable of enumeration type and add next nodes.

Result

Thanks, this gives me a good leap forward. Appreciated.