part_particles_create_color - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Emits the given number of particles of the given particle type blended with the given color at the given location in the given particle system. This is only useful when the particle type defines a single color (or does not define a color at all).
Parameter | Data Type | Description |
---|---|---|
ind | integer | index of the particle system |
x | double | x coordinate of the location to emit particles |
y | double | y coordinate |
type | integer | index of the particle type to emit |
color | integer | color to blend the particles with |
numb | integer | number of particles to emit |
void: This function does not return anything.
// demonstrates emitting particles with a color
part_particles_create_color(sys, x, y, type, c_red, 50);
NOTOC