There is a nice tutorial how to create a radial progress bar in UI Toolkit: Unity - Manual: Use Mesh API to create a radial progress indicator
However, I’d like to have the progress bar with rounded start and end parts (see screenshot).
How would you extend the custom mesh to achieve this?
I think an alternative to changing the mesh would be to create two circle VisualElements and place them accordingly.
Still, changing the mesh seems to me like the better approach.
This can easily be achieved using the vector API .
See this thread for an example: Radial Progress Bar (custom mesh) with anti-aliasing