Documentation
    Preparing search index...

    Interface ParticleTrailOptions

    §36 trail options, CPU simulation tier.

    Omit trail entirely (or set enabled: false) for no history. GPU simulation refuses trails for the same reason it refuses §27 fields — the device integrator does not mirror history yet.

    interface ParticleTrailOptions {
        enabled?: boolean;
        length?: number;
        minDistance?: number;
        tailWidthFactor?: number;
        width?: number;
    }
    Index
    enabled?: boolean

    When false, no ring buffer is allocated. Default true when trail is set.

    length?: number

    Number of position samples per particle (≥ 2). Default DEFAULT_TRAIL_LENGTH.

    minDistance?: number

    Minimum distance between consecutive samples. 0 records every step. Default DEFAULT_TRAIL_MIN_DISTANCE.

    tailWidthFactor?: number

    Tail width as a fraction of the head width, in [0, 1]. Default DEFAULT_TRAIL_TAIL_WIDTH_FACTOR (ribbon tapers to zero).

    width?: number

    Ribbon half-width at the particle head, in world units. When omitted, each segment uses half the particle's current drawn size.