DCS func getFogThickness

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: getFogThickness Added with: 2.9.10
Member Of: world.weather
Syntax: number world.weather.getFogThickness( )
Description: Returns the current fog thickness in meters. Returns zero if fog is not present.


Return Value: number
Return Example: 55
Examples:
Related Functions: World Functions: addEventHandler, removeEventHandler, getPlayer, getAirbases, searchObjects, getMarkPanels, removeJunk

world.weather getFogThickness, setFogThickness, getFogVisibilityDistance, setFogVisibilityDistance, setFogAnimation

Notes: