Strata - v1.4.10
    Preparing search index...

    Interface WeatherAudioProps

    Props for the WeatherAudio component.

    interface WeatherAudioProps {
        fadeTime?: number;
        rainIntensity?: number;
        rainUrl?: string;
        thunderActive?: boolean;
        thunderUrl?: string;
        windIntensity?: number;
        windUrl?: string;
    }
    Index

    Properties

    fadeTime?: number

    Duration for volume transition fades. Default: 1.0.

    rainIntensity?: number

    Volume intensity for rain (0-1). Default: 0.

    rainUrl?: string

    URL for looping rain ambience.

    thunderActive?: boolean

    Whether thunder events are enabled. Default: false.

    thunderUrl?: string

    URL for one-shot thunder sound effect.

    windIntensity?: number

    Volume intensity for wind (0-1). Default: 0.

    windUrl?: string

    URL for looping wind ambience.