Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

FOrreryHeightmapSidecar::

Resolve

Editor only

Settle 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

NameTypeDefaultMeaning
ActualSizeint32—

Samples per row of the decoded heightmap.

OutErrorFString&—

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.