Untitled Document

EmitterID = SP ADD NORMAL EMITTER (GroupID ,flow# , forceMin# , ForceMax# , tank , ZoneID , NormalZoneID)
DESCRIPTION:
Adds a Normal Emitter to the specified Group.The Command also returns the ID of this newly created Emitter.Use this ID as a Reference to change the Emitter parameters in real time.
PARAMETERS:

- GroupID - The ID of the Group
- flow# - Sets the emission rate of the particles.Setting flow value to -1 means that all particles in the emitters tank must be emitted at once.(one SP UPDATE call)
- forceMin - The minimum force of the particles in this emitter
- forceMax - The maximum force of the particles in this emitter (The final force of each particle will be a random number between forceMin and forceMax. if both parameters are equal then this constant value will be used for each particle)
- tank - With the tank parameter you can specify the number of particles in the emitter's tank.The emitter will emit particles until his tank becomes empty.If you set this value to 5 , the emitter will emit 5 particles then stops ,and becomes inactive.You can fill the tank with the SP SET EMITTER TANK Command. A negativ value (e.g -1) means that the tank have unlimited particles and never becomes empty.(NOTE: Both flow and tank cannot be -1 ! )
- ZoneID - The Zone of the Emitter created with the Zone commands.Each Emitter needs a Zone !
- NormalZoneID - The Normals defined by a Zone created with the Zone commands

BACK TO MAIN HELP
BACK TO EMITTER HELP