I want to use the Visual Effect Graph to make a particle explosion. I am trying to activate and stop this explosion programmatically.
I first create a Particles prefab object, and attach a Visual Effect Graph object to it:

Then I make the spawn rate an exposed parameter. So when the explosion activates it will set this parameter to 100. To stop the explosion, the spawn rate will be set to 0:

Now this parameter is visible in the particle prefab:

Then I instantiate the Particles prefab:
var effect = Instantiate(particlesPrefab, position), Quaternion.identity);
The particle effect shows up on the screen, but the problem is I can't find the spawn rate attribute.
How can I programmatically change this attribute's value?