natiny_particles_set_spread
void natiny_particles_set_spread(NatinyParticles particles, float degrees);
Sets how widely the start direction varies around +Y for the point, box and edge shapes.
Parameters
| Name | Type | Description |
|---|---|---|
particles |
NatinyParticles |
Particle system handle from natiny_particles_create |
degrees |
float |
Full angle of the cone of directions, 0 to 360 |
Example
natiny_particles_set_spread(fountain, 30.0f);