getTerrainInfo
Jump to navigation
Jump to search
Description
- Description:
- Returns the terrain heightmap information, as well as sea level offset (due to tides, if available).
- Groups:
- Diagnostic
Syntax
- Syntax:
- getTerrainInfo
- Return Value:
- Array - In format [landGridWidth, landGridSize, terrainGridWidth, terrainGridSize, seaLevel]:
- landGridWidth: Number - width of each land grid
- landGridSize: Number - number of land grid pixels
- terrainGridWidth: Number width of each terrain grid (also known as "cell size")
- terrainGridSize: Number - number of terrain grid pixels (also known as "heightmap resolution")
- seaLevel: Number - sea level without waves. The value is 0 if tides are disabled.
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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
|x1=
|seealso= getTerrainHeight setTerrainHeight }}