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

    Interface RectangleEmitterParameters

    Interface representing the parameters for a rectangle emitter.

    interface RectangleEmitterParameters {
        height?: number;
        mode?: EmitterMode;
        speed?: ValueGenerator | FunctionValueGenerator;
        spread?: number;
        thickness?: number;
        transform?: ShapeTransform;
        width?: number;
    }
    Index
    height?: number

    Height of the outline, along y; a negative value is read as 0. Defaults to 10.

    The mode of the emitter. EmitterMode

    The speed of the emitter start point travels when mode is EmitterMode.Loop or EmitterMode.PingPong. EmitterMode

    spread?: number

    The length of segment of which emitter point converges at the start and end, when mode is EmitterMode.Loop or EmitterMode.PingPong. EmitterMode

    thickness?: number

    How far in from the outline particles may start, as a fraction of the way to the centre, clamped to [0, 1]. 0 is the outline only; 1, the default, fills the whole rectangle. The point along the outline is even per unit of length, so each edge gets particles in proportion to its length, spread evenly over the area of its band.

    transform?: ShapeTransform

    Offset, rotation and scale of the shape within the particle system. ShapeTransform

    width?: number

    Width of the outline, along x; a negative value is read as 0. Defaults to 10.