Would like to have a custom Bar Fill Type for my progress bars

Hi,
I’m designing a user interface that’s navigated using a controller, where the buttons are activated as the user directs the Left Thumbstick towards them

My buttons look like these two :
image

Of course they can be in any direction and any size.

I would like to fill them using their shape as the Bar Fill Type, like that :

Do you know how I can do that ?

Hey @Topbleyzer

you could try something like:

1 Like

Hey L1z4rD89, thank for your help.

I tried your option and to be honest it’s really promising. Now that I understood how it works, I’ll iterate on it.

I just don’t know how to use it well in my widget blueprint, and how to change dynamically the value of the parameters in my material, do you know how ?

Hey @Topbleyzer

you can

  • Create a dynamic material and use SetScalarValue to set the Fill
  • Create a MaterialParameterCollection and use a value from here for the Fill

You can also have a look at UI MATERIAL LAB on the market place. You can create that part of a circle with a combination of a pie chart and a angle / square gradient

image

2 Likes

Hey, I have tested a bit everything that you linked me and it works pretty well. I need to clean and polish it for my usage and it will be perfect.

Thank you for your help !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.