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

    Interface DonutEmitterParameters

    Interface representing the parameters for a donut emitter.

    interface DonutEmitterParameters {
        arc?: number;
        donutRadius?: number;
        mode?: EmitterMode;
        radius?: number;
        speed?: ValueGenerator | FunctionValueGenerator;
        spread?: number;
        thickness?: number;
        transform?: ShapeTransform;
    }
    Index
    arc?: number

    Arc of the donut that particles start in, in radians around +z from +x (Unity's Arc, which its inspector shows in degrees); 2π, the default, for the whole donut.

    donutRadius?: number

    Radius of the tube around the centre line (Unity's Donut Radius); a negative value is read as 0. Defaults to a fifth of radius.

    The mode of the emitter. EmitterMode

    radius?: number

    Radius of the donut's centre line, a circle in the xy plane; a negative value is read as 0. Defaults to 10.

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

    spread?: number

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

    thickness?: number

    Radius Thickness, as in Unity: how far in from the tube's surface particles may start, as a fraction of the tube's radius, clamped to [0, 1]. 0 is the tube's surface only; 1, the default, fills the tube, evenly over its cross-section.

    transform?: ShapeTransform

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