- Home /
Visual Effect Graph: How to expose parameter to flexibly set Capacity from Inspector?
I was trying to make a smoke vfx using circle position where I can flexibly set the radius without changing each particle size.
What I've done:
-Declaring an exposed parameter called "Scale".
-Multiplying the circle radius with "Scale".
-Multiplying the periodic burst count to an exposed "Scale" parameter so that when I set the higher radius, it will burst more particles.
The problem is, even if I can set the periodic burst count, it will be limited by the Capacity variable inside the Initialization. And Capacity can't be replaced by an exposed parameter. So, when I set the higher scale, the particle density became having so much gaps because it has been limited by the Capacity.
I was also trying to add some delay to be matched with the lifetime, but the problem is, there will also delay in the beginning which I don't want it to be.
I wonder if there is a way where I can flexibly set the capacity. Thank you before.