Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainHeightmapImport::

ImportHeightmap

Editor onlyBlueprint

Python and Blueprint entry: ImportHeightmapFile with the default options.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor")
static FOrreryTerrainImportResult ImportHeightmap(const FString& Path, UOrreryTerrainTileStoreAsset* Store);
Blueprint Import Heightmap
The graph as text
  1. Import Heightmap (function call)
    • In Path (String): empty
    • In Store (OrreryTerrainTileStoreAsset object): None
    • Out Return Value (OrreryTerrainImportResult): not connected
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.
Blueprint
Import Heightmap, in Orrery › Terrain › Editor

Parameters

NameTypeDefaultMeaning
Pathconst FString&——
StoreUOrreryTerrainTileStoreAsset*——

Returns

success flag and one report line: counts and bytes, or why the import was refused. A struct, because Python gets None from a bool return with an out parameter on false and would lose the reason.