Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • ParticleSubEmitter

Index

Constructors

Methods

  • setKeepEmitter(keepEmitter: boolean): void
  • Parameters

    • keepEmitter: boolean

      If true, the new particle will save the emitter that was used for its creation if it had been. Note: in this case we are talking about emitters, not about sub-emitters.

    Returns void

  • setKeepVelocity(keepVelocity: boolean): void
  • 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(maxRandomVelocity: number): void
  • Emitted particles will receive random initial speed

    Parameters

    • maxRandomVelocity: number

    Returns void

Generated using TypeDoc