threejs-worldgen
    Preparing search index...

    Interface ShootingStarsProps

    Props of <ShootingStars>: every ShootingStarsInput setting plus ref.

    interface ShootingStarsProps {
        brightness?: number;
        color?: string;
        duration?: [number, number];
        enabled?: boolean;
        length?: [number, number];
        minElevation?: number;
        radiant?: [number, number] | null;
        rate?: number;
        ref?: Ref<ShootingStars | null>;
        seed?: string | number;
        shower?: number;
        trail?: number;
        width?: number;
    }

    Hierarchy (View Summary)

    Index
    brightness?: number

    Brightness multiplier.

    color?: string

    Streak colour (#rrggbb).

    duration?: [number, number]

    Shortest and longest flight, seconds.

    enabled?: boolean

    Show meteors.

    length?: [number, number]

    Shortest and longest path across the sky, degrees.

    minElevation?: number

    Lowest elevation a meteor's midpoint appears at, degrees.

    radiant?: [number, number] | null

    Shower radiant as [azimuth, elevation] in degrees, or null for a seeded one.

    rate?: number

    Sporadic meteors per hour of elapsed time (real seconds, not sky time).

    ref?: Ref<ShootingStars | null>

    Receives the underlying ShootingStars instance.

    seed?: string | number

    Seed for the schedule and paths.

    shower?: number

    Extra meteors per hour from the shower radiant (0 = no shower; thousands = a meteor storm).

    trail?: number

    Fraction of the path the glowing trail covers behind the head, 0..1.

    width?: number

    Streak width at the head, degrees.