part_particles_create_color(ind,x,y,type,color,numb)

From ENIGMA
Jump to navigation Jump to search

Description

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).

Parameters

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

Return Values

void: This function does not return anything.

Example Call

// demonstrates emitting particles with a color
part_particles_create_color(sys, x, y, type, c_red, 50);