Skip to main content
Skip to main content

setRainTurbulenceParameters

setRainTurbulenceParameters

Description

Set parameters for rain turbulence. Rain turbulence randomly accelerates rain drops according to some noise that varies over time.

Definition

setRainTurbulenceParameters(entityId precipitationEntity, float turbulence, float timeScale, float pulsePeriod, float frequency)

Arguments

entityIdprecipitationEntityprecipitationEntity
floatturbulenceDetermines how strong the turbulence is. Default 10.0
floattimeScaleTurbulence varies over time. This speeds up or slows down that process.
floatpulsePeriodTurbulence ebbs and flows in terms of its strength. This is the duration / period of that pulsing.
floatfrequencySpatial frequency of the turbulence (how fast the turbulence changes in space. Lower it to have a larger space affected by the same kind of turbulence).