Orrery Terrain · OrreryTerrainEditor module · member function
FOrreryHeightmapSidecar::
Resolve
Editor onlySettle the spacing once the heightmap's size is known (a PNG's size comes from the file).
Declaration
bool Resolve(int32 ActualSize, FString& OutError);- Header
#include "OrreryTerrainHeightmapImport.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Stable: changes within a major version only add.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
ActualSize | int32 | — | Samples per row of the decoded heightmap. |
OutError | FString& | — | Why the sidecar disagrees with the file or with itself; untouched on success. |
Returns
false when a given size differs from ActualSize, cell_m and world_size_m disagree (beyond 1 part in a million), or the resolved spacing is outside 0.25..16 m.