Panning a Material Instance in Blueprint?
Hello, I have been working on trying to figure this out for a few days now and have had little to no luck at all. I have watched countless tutorials and read numerous dead end documentations in search for a solution to what I believe should be a simple problem. I have a texture that I created into a material with a -y axis panning effect. I now need to be able to control the speed of the panning effect through my class blueprint. Can anyone point me in the right direction? I have read and viewed these: https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/MaterialInstances/index.html https://www.youtube.com/watch?v=cta_4g0aG6U https://www.youtube.com/watch?v=srUSDU1u0og https://www.youtube.com/watch?v=vjf71f1y7NA
I have followed and tried these but none of them allow me to control the speed or even access my Material...not trying to just change the color...I want to control the speed of my already panning Material or at least create the panning effect inside Blueprint so I can control the speed of it. alt text]
Delete the Conveyor Speed nodes(get and set) in construction script, you dont need to set it there. Now get that CB Anime Material variable you created > Get it in Event Graph > drag from it > search for Set Scalar value node. Now enter the name of the variable in that node and change the panning speed via a float variable like that Conveyor Speed one.
answered Sep 24 '14 at 04:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here