CreateParticleEmitter()

Syntax

Result = CreateParticleEmitter(#ParticleEmitter, Width, Height, Depth, Type, [, x, y, z])
Description
Creates a new empty #ParticleEmitter of the given width, height and depth (respectively x,y and z dimension). The default size of the future Particles can be specified with the ParticleSize() command. The optionals x,y,z parameters can be specified to set the position of the newly created emitter in the world. If the 'Result' is 0, the #ParticleEmitter can't be created. If the #ParticleEmitter was already created, it is automatically freed and replaced by the new one.

The 'Type' parameter can be one of the following value:
  #PB_Particle_Point: The emitter is a single point
  #PB_Particle_Box  : The emitter is a box, with an width, height and depth

Supported OS

Windows, Linux

Particle Index - FreeParticleEmitter() ->