natiny_particles_set_spread

C
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

C
natiny_particles_set_spread(fountain, 30.0f);