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.

Constructors

Methods

  • 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

    In this case we are talking about emitters, not about sub-emitters.

  • 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

  • Emitted particles will receive random initial speed.

    Parameters

    • maxRandomVelocity: number

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.