diag getTerrainGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
Line 8: Line 8:
|gr1= Diagnostic
|gr1= Diagnostic


|descr= Returns terrain cell size (size of each grid cell in the Heightmap) as scalar
|descr= Returns terrain cell size (size of each grid cell in the Heightmap).


|s1= [[diag_getTerrainGrid]]
|s1= [[diag_getTerrainGrid]]
Line 14: Line 14:
|r1= [[Number]] - terrain grid
|r1= [[Number]] - terrain grid


|x1= <code>[[private]] _terrainGrid = [[diag_getTerrainGrid]];</code>
|x1= <sqf>private _terrainGrid = diag_getTerrainGrid;</sqf>


|seealso= [[diag_getTerrainSegmentOffset]] [[getTerrainGrid]]
|seealso= [[diag_getTerrainSegmentOffset]] [[getTerrainGrid]]
}}
}}

Revision as of 17:21, 5 May 2022

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Returns terrain cell size (size of each grid cell in the Heightmap).
Groups:
Diagnostic

Syntax

Syntax:
diag_getTerrainGrid
Return Value:
Number - terrain grid

Examples

Example 1:
private _terrainGrid = diag_getTerrainGrid;

Additional Information

See also:
diag_getTerrainSegmentOffset getTerrainGrid

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