Particles.ParticleSubEmitter
Index
Constructors
Methods
Constructors
constructor
Constructs new Particles.ParticleSubEmitter object from given needed params.
Parameters
chance: number
count: number
type: number
data: number
Returns ParticleSubEmitter
Methods
setKeepEmitter
- More about capabilities
In this case we are talking about emitters, not about sub-emitters.
Parameters
keepEmitter: boolean
If true, the new particle will save the emitter that was used for it's creation if it had been.
Returns void
setKeepVelocity
Parameters
keepVelocity: boolean
If true, the new particle will have the velocity of the particle, that calls the sub-emitter, at the time of invocation; default is false
Returns void
setRandomVelocity
Emitted particles will receive random initial speed.
Parameters
maxRandomVelocity: number
Returns void
Sub-emitters describe how specific particle can emit other particles, according to some events, that may happen to it. Mostly for internal use, put sub-emitters descriptors into
emitters.