Skip to main content

Particles.SubEmitterDescription

Custom particle's sub-emitter params object.

Index

Properties

optionalchance

chance?: number = 1

Triggering float chance from 0 to 1.

optionalcount

count?: number = 1

Particles count for the single emit time.

optionaldata

data?: number = 0

Additional data of the emitted particle.

optionalkeepEmitter

keepEmitter?: boolean

If true, the new particle will save the emitter that was used for it's creation if it had been.

More about capabilities

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

optionalkeepVelocity

keepVelocity?: boolean = false

If true, the new particle will have the velocity of the particle, that calls the sub-emitter, at the time of invocation.

optionalrandomize

randomize?: number

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

type

type: number

Emitted particle's type numeric ID.