Orrery Terrain · OrreryTerrain module · member function
FTerrainChunkPosts::
CopyHeights
Copy every post's height, cm above Origin.Z: Posts² values, row-major (index = Row * Posts + Col, the Chaos layout).
Declaration
void CopyHeights(TArrayView<float> Out) const;- Header
#include "TerrainChunkPosts.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Any thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Out | TArray | — | At least Posts² values. |
Note.
Any thread. Writes nothing when Out is too short or the posts hold no heights.