babylon.quarks - v1.0.0
    Preparing search index...

    Interface BurstParameters

    One burst of a system's emission (Unity's Emission Bursts): count particles at time seconds into each loop, repeated cycle times interval seconds apart, each wave with the chance probability. A burst given to the constructor or read from a file is normalised (a missing interval is 0.1 s, probability is kept to 0..1, cycle to at least 1) and the bursts are kept in time order.

    interface BurstParameters {
        count: ValueGenerator | FunctionValueGenerator;
        cycle: number;
        interval: number;
        probability: number;
        time: number;
    }
    Index

    Particles each wave spawns. The generator is rolled when the system plays or restarts, so a random count is the same for every loop of one play; a curve is read at the wave's time as a fraction of the duration, 0 to 1, like the start curves.

    cycle: number

    How many waves the burst fires, at least 1.

    interval: number

    Seconds between waves; 0 fires them all at once. 0.1 when left out.

    probability: number

    Chance from 0 to 1 that a wave spawns at all, rolled per wave.

    time: number

    Seconds into the system's duration the first wave fires at.