Options
All
  • Public
  • Public/Protected
  • All
Menu

Custom particle's sub-emitter params object

Hierarchy

  • SubEmitterDescription

Index

Properties

chance?: number

Triggering chance from 0 to 1, default is 1

count?: number

Particles count for the single time, default is 1

data?: number

Additional data of the emitted particle, default is 0

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.

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

randomize?: number

If this value is listed, emitted particles will receive random initial speed, that isn't more than value * sqrt(3)

type: number

Emitted particle's type numeric id

Generated using TypeDoc