How to change an instanced material param of a blueprint placed in the editor?

Let’s assume that your material looks like this:

This material includes 2 parameters, a vector parameter named VectorParam and a scalar parameter named ScalarParam. The blueprint code you need to implement in order to have the required changes is the following construction script:

Once you compile your Blueprint and place it into the level you will be able to change the required properties in the viewport. Here’s the result:

1 Like