rainParams

From Bohemia Interactive Community
Revision as of 17:33, 20 January 2022 by Lou Montana (talk | contribs) (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

Description

Description:
Returns currently set RainParticles params, custom or default.
Groups:
Environment

Syntax

Syntax:
rainParams
Return Value:
Array - [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong] where:
* rainDropTexture: String - see RainParticles
* texDropCount: Number - see RainParticles
* minRainDensity: Number - see RainParticles
* effectRadius: Number - see RainParticles
* windCoef: Number - see RainParticles
* dropSpeed: Number - see RainParticles
* rndSpeed: Number - see RainParticles
* rndDir: Number - see RainParticles
* dropWidth: Number - see RainParticles
* dropHeight: Number - see RainParticles
* dropColor: Array - see RainParticles
* lumSunFront: Number - see RainParticles
* lumSunBack: Number - see RainParticles
* refractCoef: Number - see RainParticles
* refractSaturation: Number - see RainParticles
* snow: Boolean - see RainParticles
* dropColorStrong: Boolean - see RainParticles

Examples

Example 1:
_rainParams = rainParams;

Additional Information

See also:
setRain fogParams overcast humiditywindforceWeatherChange

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note