rainParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "|branch= dev " to "")
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|branch= dev
|gr1= Environment
|gr1= Environment



Revision as of 16:59, 8 March 2022

Hover & click on the images for description

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 humidity wind forceWeatherChange

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