I have a mesh that assigned 4 materials. And each one has “Emissive?” boolean. How can i change that parameter via blueprint?
Hi !
Try one of the below!
▼ Replace bool parameter to sacalar parameter
▼ Implement Function for change bool parameter with C++ ( ↓ ※Please translate )
enjoy !
You will note that bool parameters are static parameters in materials – this means they cannot be changed at runtime.
If I recall correctly, these will show up as “static switch parameters” which can be edited in editor utilities but not in game/actor blueprints:
You need to create a dynamic material instance for the mesh and element… promote the return value to a variable.
Once you have the DMI reference you can set the parameters.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.