Particle emission burst

Burst

2024.3.19

yisky

Constructors

Properties

count: MinMaxCurve = ...

Specify the number of particles to emit.

Burst

probability: number = 1.0

The probability that the system triggers a burst.

Burst

repeatInterval: number = 0.01

How often to repeat the burst, in seconds.

Burst

Accessors

  • get cycleCount(): number
  • Get how many times the system should play the burst.

    Returns number

    Burst

  • set cycleCount(value): void
  • Set how many times the system should play the burst.

    Parameters

    • value: number

    Returns void

    Burst

  • get time(): number
  • Get the time that each burst occurs.

    Returns number

    Burst

  • set time(value): void
  • Set the time that each burst occurs.

    Parameters

    • value: number

    Returns void

    Burst

Methods

  • Update burst propability

    Returns void

    Burst

  • Serialize

    Returns {
        [key: string]: any;
    }

    • [key: string]: any

    Burst