The EmissionStopped
property of the SceneParticles
class is used to control the emission state of the particle system. When set to true
, the particle system stops emitting particles. Conversely, setting it to false
resumes particle emission.
The EmissionStopped
property of the SceneParticles
class is used to control the emission state of the particle system. When set to true
, the particle system stops emitting particles. Conversely, setting it to false
resumes particle emission.
To use the EmissionStopped
property, you can simply get or set its value on an instance of SceneParticles
. This property is useful for controlling the particle system's emission state dynamically during runtime.
// Example of using the EmissionStopped property // Assume 'particles' is an instance of SceneParticles SceneParticles particles = new SceneParticles(); // Stop the particle emission particles.EmissionStopped = true; // Check if the emission is stopped if (particles.EmissionStopped) { // Perform actions when emission is stopped } // Resume the particle emission particles.EmissionStopped = false;