rainParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 32: Line 32:
|x1= <code>_rainParams = [[rainParams]];</code>
|x1= <code>_rainParams = [[rainParams]];</code>


|seealso= [[setRain]], [[fogParams]], [[overcast]], [[humidity]], [[wind]], [[forceWeatherChange]]
|seealso= [[setRain]] [[fogParams]], [[overcast]], [[humidity]], [[wind]], [[forceWeatherChange]]
}}
}}

Revision as of 17:25, 20 January 2022

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 fogParamsovercasthumiditywindforceWeatherChange

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