Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · class

UOrreryTerrainHeightmapImport

Editor only

Imports a 16-bit heightmap and its sidecar into a tile store (editor only).

Declaration

UCLASS()
class UOrreryTerrainHeightmapImport : public UBlueprintFunctionLibrary
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.
Derives from
UBlueprintFunctionLibrary
Blueprint
“Orrery Terrain Heightmap Import”, a Blueprint type

Description

Heights become whole centimetres (llround of z_offset_m + sample * metres_per_unit, in centimetres), exactly as UOrreryTerrainHeightmapSourceAsset does, so the store equals that asset's tiles for the same samples. Nodata samples take the nearest valid sample of their row (FRasterTiler). The store is built by FOrreryTerrainTileStoreBuilder::BuildFromRaster.

Integer decode and a fixed order throughout: the same input and options give the same store hash.

Functions

Blueprint