This is creating a material instance and changing variables inside the material. In this example they are applied to a particle in a blueprint but can be used anywhere
First I create a variable or type Material Instance Dynamic to hold my material instance for reference later
after that I spawn the selected material using Create material instance dynamic. This takes in a material from the content browser. After spawning it I need to setup my emitter and then apply my material.
After that I use set Scalar Parameter value to change the value of the variable in the material.
If this helps anyone, I’d appreciate an up vote