Strata - v1.4.10
    Preparing search index...

    Interface RainProps

    Props for the Rain component.

    interface RainProps {
        areaSize?: number;
        color?: ColorRepresentation;
        count?: number;
        dropLength?: number;
        height?: number;
        intensity?: number;
        wind?: Vector3;
    }
    Index

    Properties

    areaSize?: number

    Size of the area covered by rain. Default: 50.

    color?: ColorRepresentation

    Tint color for rain drops. Default: '#aaccff'.

    count?: number

    Number of active rain particles. Default: 10000.

    dropLength?: number

    Vertical length of each rain streak. Default: 0.5.

    height?: number

    Maximum height from which rain falls. Default: 30.

    intensity?: number

    Visual density and opacity of the rain (0-1). Default: 1.0.

    wind?: Vector3

    Wind vector affecting rain angle and speed. Default: [0.5, 0, 0.2].