natiny_particles_simulate
void natiny_particles_simulate(NatinyParticles particles, float seconds);
Runs the system forward by seconds immediately, including spawning - a fire that is already burning when the scene opens.
Parameters
| Name | Type | Description |
|---|---|---|
particles |
NatinyParticles |
Particle system handle from natiny_particles_create |
seconds |
float |
Time to run forward, in seconds |
Example
natiny_particles_simulate(campfire, 2.0f);