Define a draw degree in a material

Hello,

This is my material’s blueprint:

And it looks like this:

image

I want to be able to add a parameter to this material called degree that allows to draw according to its value, for example 360 will give a whole cercle wheras 180, half a circle etc. Is there an easy way to make this happen ?
Thanks in advance

Thank you for your answer! Could you tell me where to connect to if output ?

from unreal marketplace ddownload this learning project:

It is done by Epic and it is free. There are custom material functions that you can use for your material. Or you can just open it and see how that works.

I strongly suggest at least looking how to use their functions, and then migrating *just functions) to your project. It will save you time.

2 Likes