Difference between revisions of "DCS singleton land"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
| Line 18: | Line 18: | ||
}} | }} | ||
| + | [[Category:Game Patch 1.2.0|land singleton]] | ||
Latest revision as of 06:45, 17 March 2022
m (1 revision imported) |
|||
| Line 18: | Line 18: | ||
}} | }} | ||
| + | [[Category:Game Patch 1.2.0|land singleton]] | ||
| Singleton: | land | Added with: 1.2.0 | |
| Description: | The land singleton contains functions used to get information about the terrain geometry of a given map. Functions include getting data on the type and height of terrain at a specific points and raytracing functions. | ||
| Functions: | getHeight, getSurfaceHeightWithSeabed, getSurfaceType, isVisible, getIP, profile, getClosestPointOnRoads, findPathOnRoads | ||
| Enumerators and Other Data: | land has an enumerator that defines the type of surface over a given point. Note that taxiways, ramps, and other airbase features are returned as the 'RUNWAY' surface type.
land.SurfaceType LAND 1 SHALLOW_WATER 2 WATER 3 ROAD 4 RUNWAY 5 | ||
| Notes: | |||